Skip to content

Commit

Permalink
arbor 0.6 changes (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
Helveg authored Mar 16, 2022
1 parent f1413ec commit e4a88c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions glia/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def __exit__(*args, **kwargs):
with TemporaryDirectory() as tmp:
pwd = os.getcwd()
os.chdir(tmp)
cmd = f"build-catalogue {self._name} {mod_path}"
cmd = f"arbor-build-catalogue {self._name} {mod_path}"
try:
subprocess.run(
cmd
Expand All @@ -228,14 +228,14 @@ def __exit__(*args, **kwargs):
capture_output=not verbose,
)
except subprocess.CalledProcessError as e:
msg_p = [f"build-catalogue errored out with exitcode {e.returncode}"]
msg_p = [f"ABC errored out with exitcode {e.returncode}"]
if verbose:
msg_p += ["Check log above for error."]
else:
msg_p += [
f"Command: {cmd}\n---- build-catalogue output ----",
f"Command: {cmd}\n---- ABC output ----",
e.stdout.decode(),
"---- build-catalogue error ----",
"---- ABC error ----",
e.stderr.decode(),
]
msg = "\n\n".join(msg_p)
Expand Down

0 comments on commit e4a88c2

Please sign in to comment.