Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Made sure that MIN_GMFRAG was cast as a float
  • Loading branch information
daminton committed Nov 8, 2022
1 parent 7736419 commit 615730a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/swiftest/swiftest/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ def read_swiftest_param(param_file_name, param, verbose=True):
param['ENCOUNTER_CHECK'] = param['ENCOUNTER_CHECK'].upper()
if 'GMTINY' in param:
param['GMTINY'] = real2float(param['GMTINY'])
if 'MIN_GMFRAG' in param:
param['MIN_GMFRAG'] = real2float(param['MIN_GMFRAG'])
except IOError:
print(f"{param_file_name} not found.")
return param
Expand Down

0 comments on commit 615730a

Please sign in to comment.