TypeError '<' when using zoomify
See original GitHub issueI’m using
cooler zoomify -r 10000 -o data/Li_et_al_2015.mcool data/Li_et_al_2015.cool
and I’m returning
Traceback (most recent call last):
File "/opt/conda/bin/cooler", line 8, in <module>
sys.exit(cli())
File "/opt/conda/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/opt/conda/lib/python3.6/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/conda/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/conda/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/cooler/cli/zoomify.py", line 146, in zoomify
agg=agg)
File "/opt/conda/lib/python3.6/site-packages/cooler/reduce.py", line 679, in zoomify_cooler
resn, pred, mult = get_multiplier_sequence(resolutions, base_resolutions)
File "/opt/conda/lib/python3.6/site-packages/cooler/reduce.py", line 366, in get_multiplier_sequence
resn = np.array(sorted(bases.union(resolutions)))
TypeError: '<' not supported between instances of 'NoneType' and 'int'
The command works with other cool files I’m using, and I’m currently testing this with data I found online, so I don’t know its structure too well. What is going wrong here?
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Create unique zoomifyContainer for zcomparisonpath
Hello there, how can I achieve the same uniqName in the case of zcomparisonpath? For example I have multiple zoomify containers on the...
Read more >TypeError: cannot convert the series to <class 'float'> #259
I'm have a lot of "chromosomes" (genome assembly), and it is causing me to hit this line during zoomify - cooler/cooler/cli/zoomify.py Line ...
Read more >Zoomify Support - Frequently Asked Questions
Zoomify is a tool that web designers use to make images 'zoomable', as well as a 'viewer' that web site visitors use to...
Read more >Zoomify HTML5 V5 Feature Examples
New, dedicated, Zoomify Express Multi -Viewer enables many Zoomify Images in a single web page - without using iFrames, and with support for...
Read more >83-Settings-ConstrainPan - Zoomify
The pan constrint feature can be adjusted using the HTML parameter zConstrainPan ('0'=false, '1'=loose (constrain image center to viewport edge), ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I saw a PR saying it worked better now, but I think this should be ok for the moment. I appreciate the help!
Closing as the original issue is fixed in #180