-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Description
cooler.create_scool(scool_file, bins, pixels)
File "[...]/python3.12/site-packages/cooler/create/_create.py", line 1174, in create_scool
bins = bins.copy()
^^^^^^^^^
AttributeError: 'RangeSelector1D' object has no attribute 'copy'
I'm tinkering around with the create_scool function in the cooler library, but it gives me this error.
bins = {}
pixels = {}
for id, cool in zip(block_ids, cools):
c = cooler.Cooler(f"{cool}::/")
bins[id] = c.bins()
pixels[id] = c.pixels()
cooler.create_scool(scool_file, bins, pixels)
The cool files exist. I'm just validating a workflow with some small test data here, so I can't guarantee they're not corrupted, but I can use zoomify to make mcools of them successfully.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels