@@ -16,9 +16,9 @@ def clone(repository, folder, default_branch, cwdp='', recursive = False, destin
1616 subprocess .call (['git' , 'clone' , '--recursive' , repository ], cwd = './' + cwdp )
1717 else :
1818 if destination_folder :
19- subprocess .call (['git' , 'clone' , repository , destination_folder ], cwd = './' + cwdp )
19+ subprocess .call (['git' , 'clone' , repository , destination_folder ], cwd = './' + cwdp )
2020 else :
21- subprocess .call (['git' , 'clone' , repository ], cwd = './' + cwdp )
21+ subprocess .call (['git' , 'clone' , repository ], cwd = './' + cwdp )
2222 checkout (folder , default_branch , cwdp )
2323
2424def checkout (folder , default_branch , cwdp ):
@@ -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 != 'development' : # don't ckeckout development for netpyne
3333 subprocess .call (['git' , 'checkout' , branch ], cwd = './' )
3434 else :
3535 subprocess .call (['git' , 'checkout' , default_branch ], cwd = './' )
@@ -54,7 +54,7 @@ def main(argv):
5454
5555clone ('https://github.com/openworm/org.geppetto.frontend.jupyter.git' ,'org.geppetto.frontend.jupyter' ,'development' )
5656with open ('npm_frontend_jupyter_log' , 'a' ) as stdout :
57- subprocess .call (['npm' , 'install' ], cwd = './org.geppetto.frontend.jupyter/js' , stdout = stdout )
57+ 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
@@ -69,7 +69,7 @@ def main(argv):
6969# Installing and building
7070print ("NPM Install and build for Geppetto Frontend ..." )
7171with open ('npm_frontend_log' , 'a' ) as stdout :
72- subprocess .call (['npm' , 'install' ], cwd = './netpyne_ui/geppetto/src/main/webapp/' , stdout = stdout )
72+ subprocess .call (['npm' , 'install' ], cwd = './netpyne_ui/geppetto/src/main/webapp/' , stdout = stdout )
7373subprocess .call (['npm' , 'run' , 'build-dev-noTest' ], cwd = './netpyne_ui/geppetto/src/main/webapp/' )
7474
7575print ("Installing jupyter_geppetto python package ..." )
0 commit comments