File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -249,8 +249,8 @@ def test_register_batch_position_update(murfey_db_session: Session):
249249
250250 # These two should have been updated, values are known as used identity matrices
251251 bp_final_parameters = murfey_db_session .exec (select (TiltSeries )).one ()
252- assert bp_final_parameters .x_location == 880
253- assert bp_final_parameters .y_location == 1780
252+ assert bp_final_parameters .x_location == 880 * 512 / search_map . width
253+ assert bp_final_parameters .y_location == 1780 * 512 / search_map . width
254254
255255
256256def test_register_batch_position_update_skip (murfey_db_session : Session ):
@@ -361,5 +361,5 @@ def test_register_batch_position_new(murfey_db_session: Session):
361361
362362 # These two should have been updated, values are known as used identity matrices
363363 bp_final_parameters = murfey_db_session .exec (select (TiltSeries )).one ()
364- assert bp_final_parameters .x_location == 880
365- assert bp_final_parameters .y_location == 1780
364+ assert bp_final_parameters .x_location == 880 * 512 / search_map . width
365+ assert bp_final_parameters .y_location == 1780 * 512 / search_map . width
You can’t perform that action at this time.
0 commit comments