Skip to content

Commit 4393ebb

Browse files
committed
Make clear that inserted values are wrong
1 parent 14ee131 commit 4393ebb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/murfey/client/contexts/tomo_metadata.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ def post_transfer(
236236
sm_height = int(
237237
8005 * readout_height / max(readout_height, readout_width)
238238
)
239+
logger.warning(
240+
f"Inserting incorrect width {sm_width}, height {sm_height} for SearchMap display"
241+
)
239242

240243
sm_url = f"{str(environment.url.geturl())}{url_path_for('session_control.tomo_router', 'register_search_map', session_id=environment.murfey_session, sm_name=transferred_file.parent.name)}"
241244
capture_post(

0 commit comments

Comments
 (0)