Skip to content

Conversation

@valosekj
Copy link
Member

@valosekj valosekj commented Jul 9, 2025

This PR fixes the failing CI for test_get_orientation:

image

SCT now adds an extra line with total runtime at the end of its output. Example:

--
Spinal Cord Toolbox (git-jv/sct_process_segmentation_use_hog-2825761400b80fa7d556d24356f78e437c664496*)

sct_image -i /private/var/folders/v3/00vnhxcj5vg7d7mr7r4vl5sr0000gn/T/pytest-of-valosek/pytest-3/test_get_orientation0/BIDS/sub-001/ses-01/anat/sub-001_ses-01_T1w.nii.gz -getorient
--

LPI
Total runtime; 0.150 seconds.

We thus need to strip one extra line to get LPI.

Context: SCT now adds an extra line with total runtime at the end of its output. We thus need to strip one extra line.
@valosekj
Copy link
Member Author

valosekj commented Jul 9, 2025

CI is passing --> merging

@valosekj valosekj merged commit f52da42 into main Jul 9, 2025
1 check passed
@valosekj valosekj deleted the jv/fix_test_get_orientation branch July 9, 2025 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant