Skip to content

Commit

Permalink
Fixup to ExampleRunnerTest command processing
Browse files Browse the repository at this point in the history
  • Loading branch information
mwatts15 committed Aug 2, 2019
1 parent 5498038 commit 08d66cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion PyOpenWorm/data_trans/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ def translate(self, data_source, neurotransmitter_source):
L.warn("Didn't find any connections matching: {}".format(conn))
else:
break
print('result', res)
return res


Expand Down
2 changes: 1 addition & 1 deletion tests/ExampleRunnerTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def execfile(self, example_file_name):

def exec(self, command, **kwargs):
if isinstance(command, string_types):
command = command.split(' ')
command = shlex.split(command)
fname = tempfile.mkstemp()[1]
with open(fname, 'w+') as out:
stat = SP.call(command,
Expand Down

0 comments on commit 08d66cc

Please sign in to comment.