PyWGCNA
PyWGCNA copied to clipboard
Error appearance in PyWGCNA (version 1.2.4) in Google colaboratory
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.
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.
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.
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.
I'm going to run it on Google Collab and will update you
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.
Hi, I've encountered this problem as well. We would greatly appreciate it if you could fix this problem. This might help.
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?