Skip to content

Commit

Permalink
Correct comment placement
Browse files Browse the repository at this point in the history
  • Loading branch information
softwareengineerprogrammer committed Apr 30, 2024
1 parent bbacfd5 commit 001dc18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geophires_monte_carlo/MC_GeoPHIRES3.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,6 @@ def main(command_line_args=None):
results_pd = pd.read_csv(output_file)
df = pd.DataFrame(results_pd)

# Compute the stats along the specified axes.
if len(results) < 1:
# TODO surface actual exceptions instead of giving this generic message
raise RuntimeError(
Expand All @@ -460,6 +459,7 @@ def main(command_line_args=None):
f'when run with your input file.'
)

# Compute the stats along the specified axes.
mins = np.nanmin(results, 0)
maxs = np.nanmax(results, 0)
medians = np.nanmedian(results, 0)
Expand Down

0 comments on commit 001dc18

Please sign in to comment.