Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/murfey/client/customlogging.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
try:
return json.dumps(record_dict)
except TypeError:
return json.dumps({str(k): str(v) for k, v in record_dict.items})
return json.dumps({str(k): str(v) for k, v in record_dict.items()})

Check warning on line 26 in src/murfey/client/customlogging.py

View check run for this annotation

Codecov / codecov/patch

src/murfey/client/customlogging.py#L26

Added line #L26 was not covered by tests

def emit(self, record):
try:
Expand Down
2 changes: 1 addition & 1 deletion src/murfey/server/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1725,7 +1725,7 @@
).all()
if session_parameters:
session_parameters[0].eer_fractionation_file = str(file_path)
db.add(session_parameters)
db.add(session_parameters[0])

Check warning on line 1728 in src/murfey/server/api/__init__.py

View check run for this annotation

Codecov / codecov/patch

src/murfey/server/api/__init__.py#L1728

Added line #L1728 was not covered by tests
db.commit()

if file_path.is_file():
Expand Down