Skip to content

Commit

Permalink
Remove dynamic runner
Browse files Browse the repository at this point in the history
  • Loading branch information
frthjf committed May 31, 2024
1 parent 8a89d17 commit fa6eccc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions src/miv_simulator/interface/synapse_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ def dispatch_code(
self.__call__(cmds.append)
lines = [" ".join(cmd) for cmd in cmds]

if isinstance(python, str):
runner, _, python = python.rpartition(" ")
if runner:
lines = [runner + " " + line for line in lines]

cache_marker = self.local_directory("cached")
lines.append(f'echo "finished" > {cache_marker}')

Expand Down
4 changes: 2 additions & 2 deletions src/miv_simulator/simulator/generate_synapse_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def generate_synapse_forest(
_bin_check("neurotrees_import")
_run(
[
"neurotrees_import",
"mpirun -n 1 neurotrees_import",
population,
tree_output_filepath,
morphology,
Expand Down Expand Up @@ -83,7 +83,7 @@ def generate_synapse_forest(
_bin_check("neurotrees_copy")
_run(
[
"neurotrees_copy",
"mpirun -n 1 neurotrees_copy",
"--fill",
"--output",
output_filepath,
Expand Down

0 comments on commit fa6eccc

Please sign in to comment.