Skip to content

Commit

Permalink
Bugfix #1884 main_v4.1 PCPCombine {custom} in subtract method (#1886)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemccabe committed Oct 24, 2022
1 parent 01282eb commit 9daac01
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions metplus/wrappers/pcp_combine_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,7 @@ def setup_subtract_method(self, time_info, accum, data_src):
'lead': lead2}
time_info2 = ti_calculate(input_dict2)
time_info2['level'] = accum
if hasattr(time_info, 'custom'):
time_info2['custom'] = time_info['custom']
time_info2['custom'] = time_info.get('custom', '')

filepath2 = do_string_sub(full_template, **time_info2)
file2 = util.preprocess_file(filepath2,
Expand Down

0 comments on commit 9daac01

Please sign in to comment.