Skip to content

Commit 28a04a6

Browse files
authored
Merge pull request #88 from NeuroML/experimental
Improved getneuroml
2 parents 292391a + b7af3ff commit 28a04a6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

getNeuroML.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ def main():
125125
or ("jNeuroML" in repo)
126126
)
127127

128-
if (repo in java_repos or repo in neuroml2_spec_repo) and runMvnInstall:
128+
if (repo in java_repos or repo in neuroml2_spec_repo) \
129+
and runMvnInstall:
129130
command = "mvn install"
130131
print("It's a Java repository, so installing using Maven...")
131132
info = execute_command_in_dir(command, local_dir)
@@ -162,7 +163,8 @@ def execute_command_in_dir(command, directory, exit_on_fail=True):
162163
% (command, directory, os.path.abspath(directory))
163164
)
164165

165-
p = subprocess.Popen(command, cwd=directory, shell=True, stdout=subprocess.PIPE)
166+
p = subprocess.Popen(command, cwd=directory, shell=True,
167+
stdout=subprocess.PIPE)
166168
return_str = p.communicate()
167169

168170
if p.returncode != 0:

0 commit comments

Comments
 (0)