openworm / c302

The c302 framework for generating multiscale network models of C. elegans
https://www.opensourcebrain.org/projects/c302
106 stars 21 forks source link

runnin sh test.sh in cmd #22

Open moanra opened 5 years ago

moanra commented 5 years ago

Hello now i am trying to simulate the c302 neurons of the worm.

so i have done :

git clone https://github.com/openworm/c302.git cd c302 python setup.py install error2c302

sh test.sh

and i got the error in attachment can you please give me advice

pgleeson commented 5 years ago

@moanra First of all make sure you have the latest c302 and PyOpenWorm. Then I'd check the location of your installed PyOpenWorm relative to c302. A script run from the c302 directory needs to be able to find the file worm.db which was installed with pow. There is a file https://github.com/openworm/c302/blob/master/pyopenworm.conf which assumes this is in

../PyOpenWorm/.pow/worm.db

Update the location of that and just try running

python c302/OpenWormReader.py

until you get it working.

See also discussion with @mwatts15 about this here: https://github.com/openworm/PyOpenWorm/issues/400

moanra commented 5 years ago

Hello , I'm going to do that Thanks Le mardi 11 juin 2019 à 12:37:27 UTC+2, Padraig Gleeson notifications@github.com a écrit :

@moanra First of all make sure you have the latest c302 and PyOpenWorm. Then I'd check the location of your installed PyOpenWorm relative to c302. A script run from the c302 directory needs to be able to find the file worm.db which was installed with pow. There is a file https://github.com/openworm/c302/blob/master/pyopenworm.conf which assumes this is in ../PyOpenWorm/.pow/worm.db

Update the location of that and just try running python c302/OpenWormReader.py

until you get it working.

See also discussion with @mwatts15 about this here: openworm/PyOpenWorm#400

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

pgleeson commented 4 years ago

@moanra did you succeed in getting this working? The full sequence of statements for getting c302 installed with the right version of PyOpenWorm (now named owmeta) is here: https://github.com/openworm/c302/blob/master/.travis.yml