Skip to content

Commit

Permalink
cast spline interpolation parameters after reading from config file
Browse files Browse the repository at this point in the history
  • Loading branch information
jchiang87 committed Jan 17, 2020
1 parent a771892 commit 8ecadf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/bot_eo_analyses.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ def get_nlc_func(det_name, bot_eo_config_file=None):

cp = get_bot_eo_config(bot_eo_config_file)
if 'NLC_PARAMS' in cp:
nlc_params = dict(cp.items('NLC_PARAMS'))
nlc_params = {k: siteUtils.cast(v) for k, v in cp['NLC_PARAMS'].items()}
else:
nlc_params = dict()

Expand Down

0 comments on commit 8ecadf0

Please sign in to comment.