neuropoly / template

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

Straighten spinal cord now includes all disc levels as mentioned in the `last_disc` parameter in the `configuration.json` file #84

Closed rohanbanerjee closed 11 months ago

rohanbanerjee commented 11 months ago

Fixes #65

Context:

Initial pipeline limited the disc levels until 23 since the value of the list_label list which was imported from the Centerline method in SCT were only till 23

How this PR solves the issue:

The pipeline now dynamically creates a list_label whose max value is taken on the basis of the specified value in last_disc in the configuration.json file.