You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempted to enable write_json to test output. Turns out the MFD class is never passed the write_json parameter and therefore cannot respect it. Further, attempting to write json has the following error:
Exception has occurred: TypeError
Object of type Block is not JSON serializable
File "/home/systematical/code/medford/src/MEDFORD/medford.py", line 142, in run_medford
json.dump(self.dict_data, f, indent=2)
File "/home/systematical/code/medford/src/MEDFORD/medford.py", line 212, in parse_args_and_go
mfd.run_medford()
File "/home/systematical/code/medford/src/MEDFORD/medford.py", line 220, in <module>
parse_args_and_go()
TypeError: Object of type Block is not JSON serializable
This is because it is attempting to dump the entire self.dict_data object, which contains the Block objects still:
The text was updated successfully, but these errors were encountered:
Attempted to enable
write_json
to test output. Turns out theMFD
class is never passed thewrite_json
parameter and therefore cannot respect it. Further, attempting to write json has the following error:This is because it is attempting to dump the entire
self.dict_data
object, which contains theBlock
objects still:The text was updated successfully, but these errors were encountered: