Skip to content

Commit 1d6542d

Browse files
committed
Formatting
Signed-off-by: Kunjan Patel <kunjan@ucla.edu>
1 parent c1d444e commit 1d6542d

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/maxdiffusion/configuration_utils.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -610,11 +610,6 @@ def to_json_saveable(value):
610610
json_str = json.dumps(config_dict, indent=2, sort_keys=True, cls=CustomEncoder)
611611
except Exception as e:
612612
max_logging.log(f"Error serializing config to JSON: {e}")
613-
non_serializable_keys = []
614-
for key in config_dict.keys():
615-
if not isinstance(key, str):
616-
non_serializable_keys.append(key)
617-
print(f"Non-serializable keys: {non_serializable_keys}")
618613
raise e
619614
json_str = "{}"
620615

0 commit comments

Comments
 (0)