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

To access a value by position, use ser.iloc[pos] chroffset = self.clr.offset(region[0]) #144

Open
jiangshan529 opened this issue Apr 15, 2024 · 4 comments

Comments

@jiangshan529
Copy link

Hi, dear authors, I have used coolpup a lot previously, but recently it has some problem(maybe a version problem of some packages):
coolpup.py aa.cool bb.bed --outname cc.txt --flank 250000 --local --n_proc 16 --clr_weight_name ""
python3.9/site-packages/coolpuppy/coolpup.py:919: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
chroffset = self.clr.offset(region[0])

and it been stucked here and I cannot get any output. any suggestions?

@jiangshan529
Copy link
Author

Hi, dear authors, I have used coolpup a lot previously, but recently it has some problem(maybe a version problem of some packages): coolpup.py aa.cool bb.bed --outname cc.txt --flank 250000 --local --n_proc 16 --clr_weight_name "" python3.9/site-packages/coolpuppy/coolpup.py:919: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos] chroffset = self.clr.offset(region[0])

and it been stucked here and I cannot get any output. any suggestions?

The package is installed in a microenvironment, I tried to delete and reinstall, but it still has the problem.

@efriman
Copy link
Collaborator

efriman commented Apr 15, 2024

Hi @jiangshan529 you must be using an old version, this was changed a long time ago. Try to update with pip or the latest git version.

@YCMaCY
Copy link

YCMaCY commented Dec 29, 2024

Hi @jiangshan529 you must be using an old version, this was changed a long time ago. Try to update with pip or the latest git version.

Hi,I ran into the same problem, my coolpup version is 1.1.0, python version is 3.12 Install using conda, my command is: coolpup.py RS_Micro_2kb.mcool::/resolutions/10000 RS.bed -p 28 --features_format bed

@Phlya
Copy link
Member

Phlya commented Dec 29, 2024

Hi,I ran into the same problem, my coolpup version is 1.1.0, python version is 3.12 Install using conda, my command is: coolpup.py RS_Micro_2kb.mcool::/resolutions/10000 RS.bed -p 28 --features_format bed

What is the problem exactly? The original question is not clear, since there is no error (only a warning that could be simply ignored), and "stuck and getting no output" is not exactly helpful, since with some datasets it can take a very long time to run...

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

4 participants