Skip to content

Commit

Permalink
print case dir path
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain-Gauthier committed Jun 12, 2024
1 parent 19b7cef commit 6f285a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ceasiompy/PyAVL/avlrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ def run_avl(cpacs_path, wkdir):
ref_density=density,
g_acceleration=g,
)
subprocess.run(["avl"], stdin=open(str(command_path), "r"), cwd=case_dir_path)

print("##############", case_dir_path)
subprocess.run(["xvfb-run", "avl"], stdin=open(str(command_path), "r"), cwd=case_dir_path)

if save_fig:
subprocess.run(["ps2pdf", "plot.ps", "plot.pdf"], cwd=case_dir_path)
Expand Down

0 comments on commit 6f285a8

Please sign in to comment.