neuropoly / template

A framework for creating unbiased MRI templates of the spinal cord
MIT License
5 stars 3 forks source link

Remove redundancy: `list_labels` in `preprocess_normalize.py` (lines 18-19) #51

Closed NadiaBlostein closed 1 year ago

NadiaBlostein commented 1 year ago

Already defined in spinalcordtoolbox/spinalcordtoolbox/types.py, within the Centerline class

NadiaBlostein commented 1 year ago

list_labels --> Centerline.potential_list_labels (includes labels 50, 49, 1 to 30) since Centerline.list_labels only includes labels 50, 49, 1 to 23 (some users may want to go beyond disc 23)

branch: nb/preprocess_segment commit: 1c5889d43eda0acc2f64e3680633785d885d9dcb