Skip to content

Commit 8301d7e

Browse files
committed
Fix codeql issue
1 parent bcb8b8b commit 8301d7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/murfey/workflows/tomo/tomo_metadata.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,9 @@ def register_search_map_in_database(
225225
else:
226226
logger.info(
227227
f"Unable to register search map {sanitise(search_map_name)} position yet: "
228-
f"stage {search_map_params.x_stage_position}, "
229-
f"width {search_map_params.width}, "
230-
f"atlas pixel size {dcg.atlas_pixel_size}"
228+
f"stage {sanitise(str(search_map_params.x_stage_position))}, "
229+
f"width {sanitise(str(search_map_params.width))}, "
230+
f"atlas pixel size {sanitise(str(dcg.atlas_pixel_size))}"
231231
)
232232
murfey_db.add(search_map)
233233
murfey_db.commit()

0 commit comments

Comments
 (0)