mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-07-01 09:19:27 +02:00
feat!: merged the parameters padding_front and padding_back of Corr into
one parameter padding
This commit is contained in:
parent
56fe126593
commit
d778a3b238
6 changed files with 16 additions and 16 deletions
|
@ -402,7 +402,7 @@ def import_json_string(json_string, verbose=True, full_output=False):
|
|||
if len(tmp_o['tag']) == 0:
|
||||
del tmp_o['tag']
|
||||
dat = get_Array_from_dict(tmp_o)
|
||||
my_corr = Corr(list(dat), padding_front=padding_front, padding_back=padding_back)
|
||||
my_corr = Corr(list(dat), padding=[padding_front, padding_back])
|
||||
if corr_tag != 'None':
|
||||
my_corr.tag = corr_tag
|
||||
return my_corr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue