Skip to content

Commit ad6d5af

Browse files
committed
BUGFIX: merge-allc command fails due to '(' usage instead of '['
1 parent 2a361c4 commit ad6d5af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ALLCools/count_matrix/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def _determine_datasets(regions, quantifiers, chrom_size_path, tmp_dir):
9494
"do not have index in its fourth column, adding it automatically. "
9595
"If this is not desired, add a fourth column containing UNIQUE IDs to the BED file.",
9696
)
97-
region_bed_df[name] = (f"{name}_{i}" for i in range(region_bed_df.shape[0]))
97+
region_bed_df[name] = [f"{name}_{i}" for i in range(region_bed_df.shape[0])]
9898
# check if name is unique()
9999
if region_bed_df.iloc[:, 3].duplicated().sum() > 0:
100100
raise ValueError(f"Region IDs in {region_path} (fourth column) are not unique.")

0 commit comments

Comments
 (0)