Skip to content

Commit

Permalink
FindHorizon.py: append .h5 to output file name
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsvu committed Jun 3, 2024
1 parent eeefcee commit 7e51107
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions support/Pipelines/Bbh/FindHorizon.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ def find_horizon(
"Specify either 'output_coeffs_subfile' or 'output_coords_subfile'"
" or both."
)
if not (output.endswith(".h5") or output.endswith(".hdf5")):
output += ".h5"
if output_coeffs_subfile:
legend, ylm_data = ylm_legend_and_data(
strahlkorper, obs_time, output_l_max or strahlkorper.l_max
Expand Down

0 comments on commit 7e51107

Please sign in to comment.