Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility issue with cooler=0.9.1 #853

Open
JSegueni opened this issue May 3, 2023 · 5 comments
Open

Incompatibility issue with cooler=0.9.1 #853

JSegueni opened this issue May 3, 2023 · 5 comments

Comments

@JSegueni
Copy link

JSegueni commented May 3, 2023

Hi everyone,

I noticed an incompatibility issue with cooler 0.9.1.

Versions:
python 3.10
hicexplorer version 3.7.2
cooler 0.9.1
numpy 1.24.2

Command
hicInfo -m matrix.cool

Output (error)
AttributeError: module 'cooler' has no attribute 'io'

---Fix---

Versions:
python 3.10
hicexplorer version 3.7.2
cooler 0.8.11
numpy 1.23.5 (downgraded because of the cooler downgrade)

Command
hicInfo -m matrix.cool

Output (no error)
# Matrix information file. Created with HiCExplorer's hicInfo version 3.7.2 ....

Hopefully, this can help someone with the same issue.

robomics added a commit to paulsengroup/2022-mcf10a-cancer-progression that referenced this issue May 16, 2023
- Bump bioframe to v0.4.1 to patch the bug outlined [here](https://github.com/open2c/bioframe/releases/tag/v0.4.1).
  We are not using any of the select functions (at least not directly),
  but better safe than sorry.
- Restrict pandas version to v1.* when installing together with cooler
  to workaround [this](open2c/cooler#324) bug
- Restrict cooler version to v0.8.11 in HiCExplorer Dockerfile to
  workadound [this](deeptools/HiCExplorer#853) bug
robomics added a commit to paulsengroup/2022-mcf10a-cancer-progression that referenced this issue May 16, 2023
- Bump bioframe to v0.4.1 to patch the bug outlined [here](https://github.com/open2c/bioframe/releases/tag/v0.4.1).
  We are not using any of the select functions (at least not directly),
  but better safe than sorry.
- Restrict pandas version to v1.* when installing together with cooler
  to workaround [this](open2c/cooler#324) bug
- Restrict cooler version to v0.8.11 in HiCExplorer Dockerfile to
  workadound [this](deeptools/HiCExplorer#853) bug
@lldelisle
Copy link
Collaborator

Thank you very much for spotting this.

@kysrpex
Copy link

kysrpex commented Jun 21, 2024

Can the problem be fixed adjusting setup.py? In other words, is there a version of cooler with which all "sub-tools" work?

@lldelisle
Copy link
Collaborator

As written above with cooler version 0.8.11, everything works. To change the setup.py we need to release. If we release, it is better to support the last version of cooler.

@kysrpex
Copy link

kysrpex commented Jun 21, 2024

I am in fact writing because of the bug report we have received at usegalaxy.eu related to this issue. According to the README, this tool is supposed to work with conda, thus I guess it makes sense either to pin cooler to 0.8.11 in setup.py and release, or make it compatible with the newest version.

@lldelisle
Copy link
Collaborator

The bug report is from me ;-). Can you contact me on element (@lldelisle:matrix.org)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants