@@ -29,7 +29,7 @@ def checkout(folder, default_branch, cwdp):
2929 os .chdir (newPath )
3030 python_git = subprocess .Popen ("git branch -a" ,shell = True ,stdout = subprocess .PIPE ,stderr = subprocess .PIPE )
3131 outstd ,errstd = python_git .communicate ()
32- if branch and branch in str (outstd ) and branch != 'development' : # don't ckeckout development for netpyne
32+ if branch and branch in str (outstd ) and branch != 'master' and branch != ' development' : # don't ckeckout development for netpyne
3333 subprocess .call (['git' , 'checkout' , branch ], cwd = './' )
3434 else :
3535 subprocess .call (['git' , 'checkout' , default_branch ], cwd = './' )
@@ -46,21 +46,21 @@ def main(argv):
4646
4747os .chdir (os .getcwd ()+ "/../" )
4848# Cloning Repos
49- clone ('https://github.com/openworm/pygeppetto.git' ,'pygeppetto' ,'development ' )
49+ clone ('https://github.com/openworm/pygeppetto.git' ,'pygeppetto' ,'v0.4.2-alpha ' )
5050subprocess .call (['pip' , 'install' , '-e' , '.' ], cwd = './pygeppetto/' )
5151
52- clone ('https://github.com/Neurosim-lab/netpyne.git' ,'netpyne' ,'ui ' )
52+ clone ('https://github.com/Neurosim-lab/netpyne.git' ,'netpyne' ,'v0.9.0 ' )
5353subprocess .call (['pip' , 'install' , '-e' , '.' ], cwd = './netpyne/' )
5454
55- clone ('https://github.com/openworm/org.geppetto.frontend.jupyter.git' ,'org.geppetto.frontend.jupyter' ,'development ' )
55+ clone ('https://github.com/openworm/org.geppetto.frontend.jupyter.git' ,'org.geppetto.frontend.jupyter' ,'v0.4.2-alpha ' )
5656with open ('npm_frontend_jupyter_log' , 'a' ) as stdout :
5757 subprocess .call (['npm' , 'install' ], cwd = './org.geppetto.frontend.jupyter/js' , stdout = stdout )
5858subprocess .call (['npm' , 'run' , 'build-dev' ], cwd = './org.geppetto.frontend.jupyter/js' )
5959
6060# We can't clone org.geppetto.frontend as a regular submodule because Travis doesn't have .gitmodules in the zip
6161# subprocess.call(['git', 'submodule', 'update', '--init'], cwd='./')
62- clone ('https://github.com/openworm/org.geppetto.frontend.git' ,'geppetto' ,'development ' ,'netpyne_ui/' , False , 'geppetto' )
63- clone ('https://github.com/MetaCell/geppetto-netpyne.git' ,'geppetto-netpyne' ,'development ' ,'netpyne_ui/geppetto/src/main/webapp/extensions/' )
62+ clone ('https://github.com/openworm/org.geppetto.frontend.git' ,'geppetto' ,'v0.4.1-syncRefactor ' ,'netpyne_ui/' , False , 'geppetto' )
63+ clone ('https://github.com/MetaCell/geppetto-netpyne.git' ,'geppetto-netpyne' ,'master ' ,'netpyne_ui/geppetto/src/main/webapp/extensions/' )
6464
6565print ("Enabling Geppetto NetPyNE Extension ..." )
6666geppetto_configuration = os .path .join (os .path .dirname (__file__ ), './utilities/GeppettoConfiguration.json' )
@@ -81,4 +81,4 @@ def main(argv):
8181subprocess .call (['jupyter' , 'serverextension' , 'enable' , '--py' , 'jupyter_geppetto' ], cwd = './org.geppetto.frontend.jupyter' )
8282
8383print ("Installing NetPyNE UI python package ..." )
84- subprocess .call (['pip' , 'install' , '-e' , '.' ], cwd = '.' )
84+ subprocess .call (['pip' , 'install' , '-e' , '.' ], cwd = '.' )
0 commit comments