Patching Dec 9, 2021 6-7a CST- All GitLab services may be unavailable for 5-10 minutes

Commit 1871eb56 authored by Roland Haas's avatar Roland Haas
Browse files

handle output directories with slashes and also just "."

parent bfb87571
......@@ -801,7 +801,8 @@ def main():
else:
modes = all_modes
sim_name = os.path.split(args.path)[-1]
# last path component, handling trailing '/' and '.' as a path
sim_name = os.path.split(os.path.abspath(args.path))[-1]
output_directory = args.output_directory.format(sim_name = sim_name)
if args.method == "POWER":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment