We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a361c4 commit ad6d5afCopy full SHA for ad6d5af
1 file changed
ALLCools/count_matrix/dataset.py
@@ -94,7 +94,7 @@ def _determine_datasets(regions, quantifiers, chrom_size_path, tmp_dir):
94
"do not have index in its fourth column, adding it automatically. "
95
"If this is not desired, add a fourth column containing UNIQUE IDs to the BED file.",
96
)
97
- region_bed_df[name] = (f"{name}_{i}" for i in range(region_bed_df.shape[0]))
+ region_bed_df[name] = [f"{name}_{i}" for i in range(region_bed_df.shape[0])]
98
# check if name is unique()
99
if region_bed_df.iloc[:, 3].duplicated().sum() > 0:
100
raise ValueError(f"Region IDs in {region_path} (fourth column) are not unique.")
0 commit comments