c302 icon indicating copy to clipboard operation
c302 copied to clipboard

runnin sh test.sh in cmd

Open moanra opened this issue 6 years ago • 3 comments

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

moanra avatar Jun 10 '19 11:06 moanra

@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

pgleeson avatar Jun 11 '19 10:06 pgleeson

Hello , I'm going to do that Thanks Le mardi 11 juin 2019 à 12:37:27 UTC+2, Padraig Gleeson [email protected] 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.

moanra avatar Jun 16 '19 03:06 moanra

@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

pgleeson avatar Feb 07 '20 13:02 pgleeson