Skip to content

Commit a1f1700

Browse files
committed
Merge branch 'add-json-converter' of https://github.com/sandialabs/pyscan into add-json-converter
2 parents 8cf55be + 3ff79e3 commit a1f1700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyscan/general/json_encoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def default(self, obj, debug=False):
6363
elif callable(obj):
6464
if debug is True:
6565
print(f"obj {obj} is a function, returning source code.")
66-
return inspect.getsource(obj)
66+
return inspect.getsource(obj) # Talk with Andy about this and perhaps implementing in load_expt?
6767
elif isinstance(obj, (WindowsPath, Path)): # This covers both WindowsPath and PosixPath
6868
if debug is True:
6969
print(f"obj {obj} is a Path or WindowsPath, returning string of the path.")

0 commit comments

Comments
 (0)