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

Error appearance in PyWGCNA (version 1.2.4) in Google colaboratory #46

Open
YoshifumiMiyagi opened this issue Jun 20, 2023 · 6 comments

Comments

@YoshifumiMiyagi
Copy link

I ran PyWGCNA under Google colaboratory environment.

① pyWGCNA_CC.findModules()
→UnboundLocalError: local variable 'merge' referenced before assignment

② pyWGCNA_CC.analyseWGCNA()
→ValueError: 'box_aspect' and 'fig_aspect' must be positive

Details are below.
PyWGCNA problem

We welcome your valuable input.
Thank you in advance.

@nargesr
Copy link
Member

nargesr commented Jun 21, 2023

Hi, as you see in your pip installation, there is an Error regarding your numpy version.

Please try to install numpy below 1.25. The one that I have is numpy==1.24.3.

@YoshifumiMiyagi
Copy link
Author

YoshifumiMiyagi commented Jun 21, 2023

Thank you for your input.
The dependency issue arose and I was able to install the library with PyWGCNA 1.2.3 -> numpy update (1.24.3)-> PyWGCNA 1.2.4.

PyWGCNA problem 2

However, the error message remains in the analysis.
I will consider trying in the Local environment, but I think it would improve the usability if I could analyze it in Google colab as well.

@nargesr
Copy link
Member

nargesr commented Jun 21, 2023

I'm going to run it on Google Collab and will update you

@li1553770945
Copy link

I used python==3.11,numpy==1.24.3,PyWGCNA==1.2.4 on my windows10 computer, and I also have this problem. Hopefully the author will fix it.

@NegarMirgati
Copy link

Hi, I've encountered this problem as well. We would greatly appreciate it if you could fix this problem. This might help.

@nargesr
Copy link
Member

nargesr commented May 24, 2024

Hi @NegarMirgati,

would you mind telling me the version of PyWGCNA you used and the error you got?

also please tell me a little bit about your data. is it bulk? or something else?

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