Skip to content

Commit 1a1cf08

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

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/maxdiffusion/configuration_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def default(self, o):
6363
return float(o)
6464
# Let the base class default method raise the TypeError for other types
6565
return super().default(o)
66-
66+
6767
class FrozenDict(OrderedDict):
6868

6969
def __init__(self, *args, **kwargs):
@@ -605,9 +605,9 @@ def to_json_saveable(value):
605605
max_logging.log(f"Skipping non-serializable config keys: {keys_to_remove}")
606606
for key in keys_to_remove:
607607
config_dict.pop(key)
608-
608+
609609
try:
610-
610+
611611
json_str = json.dumps(config_dict, indent=2, sort_keys=True, cls=CustomEncoder)
612612
except Exception as e:
613613
max_logging.log(f"Error serializing config to JSON: {e}")

0 commit comments

Comments
 (0)