Open rasjani opened 4 months ago
look like they will not work as they are now written.
@rasjani Thanks for noticing this, fixed now! 08c1d9a80cd5023b5f0b242ffaa42768c67804eb
I have no skin in this game, i came to file this bug report from stackoverflow[0] when someone asked about this issue. However, i want to ask a question; why wont you just use python dicts in autots/templates/general.py
and if you need to store those as json in to the dataframe, use json.dumps() instead of json.loads() ? That way you actually get proper error detection and valid json without doing bunch of string escaping that leads to errors like this ?
Thanks for being a relay here for the information. I do use json.dumps and loads in the proper import_template and export_template commands but general.py is a legacy thing, used to be a json file. I have added a more exacting unittest so that should catch future problems here.
https://github.com/winedarksea/AutoTS/blame/7a843d050f62c1b4046c0b08020838e8eb95388a/autots/templates/general.py#L467
when running following:
following backtrace is thrown:
Root cause:
value stored to TransformationParameters is not valid json..