Code Monkey home page Code Monkey logo

Comments (2)

anna4kaa avatar anna4kaa commented on July 26, 2024 1

Thank you so much for your advice! Apparently, I had a new version of pandas and when I installed version 1.4.4, It worked,

The full traceback was this:


SystemExit Traceback (most recent call last)
Cell In[13], line 1
----> 1 pyWGCNA_NBC.findModules()

File ~\AppData\Local\anaconda3\envs\wgcna\lib\site-packages\PyWGCNA\wgcna.py:300, in WGCNA.findModules(self, **kwargs)
297 self.datExpr.var['dynamicColors'] = WGCNA.labels2colors(labels=dynamicMods)
299 # Calculate eigengenes
--> 300 MEList = WGCNA.moduleEigengenes(expr=self.datExpr.to_df(), colors=self.datExpr.var['dynamicColors'])
302 self.MEs = MEList['eigengenes']
303 if 'MEgrey' in self.MEs.columns:

File ~\AppData\Local\anaconda3\envs\wgcna\lib\site-packages\PyWGCNA\wgcna.py:2009, in WGCNA.moduleEigengenes(expr, colors, impute, nPC, align, excludeGrey, grey, subHubs, softPower, scaleVar, trapErrors)
2007 if not check:
2008 if not trapErrors:
-> 2009 sys.exit("Error!")
2010 print(" ..ME calculation of module", modulename, "failed with the following error:", flush=True)
2011 print(" ", pc, " ..the offending module has been removed.", flush=True)

SystemExit: Error!

from pywgcna.

nargesr avatar nargesr commented on July 26, 2024

Hi,

Can you tell me the version of other packages that are required for PyWGCNA? I uploaded mine here.

It might be that the new version of numpy is not compatible with the version of numba you have.

if you can also send me the full traceback of your error that would be great as well.

from pywgcna.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.