Display vertebral level when using -perslice 1 option #3113
Labels
feature
category: new functionality
good first issue
Issues that new contributors can easily work on
SCT API: aggregate_slicewise.py
context:
When running
sct_process_segmentation
(orsct_extract_metric
) with optionperslice 1
, each row corresponds to a slice. However, when doing so, the column "VertLevel" is empty:It shouldn't be empty, because we know the information about vertebral level, if user input vertebral labeling file, as was done here, with the flag
-vertfile
.So as a feature, we should fill this column "VertLevel" when the vertebral level for each slice is known.
The text was updated successfully, but these errors were encountered: