OPT: updated sct_warp_template to be compatible with the new version of sct_extract_metric
OPT: updated algo to take into account slices of interest
OPT: updated sct_warp_template.py concerning spinal levels warping
OPT: now warp MNI-Poly-AMU_cord.nii.gz
TEST: update testing for sct_warp_template
OPT: fixed some "TODO" (check file existence, usage displaying, …) of sct_extract_metric.py
TEST: create testing of sct_extract_metric.py
OPT: update info_label.txt from both /template and /atlas
REF: rename spinal_level folder in spinal_levels for more consistency
OPT: enable to select slices and write labels name in .txt output file
OPT: enable to select slices and vertebral levels to extract the metric from. Also add testing for these functions.
DOC: update comments
BUG: fix bug related to reading of info_label.txt + now the script doesn't crop the data according to the labels selected by the user anymore (estimates metric for all labels and then outputs the selected ones).
BUG: fix bug with selection of vertebral levels
BUG: fix bug displaying results in incorrect order
BUG: fix bug happening when rending the .txt file info_label (deletion of the last character of the file)
OPT: speed up the code to make it working on data of large dimensions (at least works well on data of dimensions 120 x 120 x 600)
TEST: update file info_label.txt for testing data
OPT: set the nomenclature of the file info_label.txt
Merge commit 'e46912311a4e49700377636fb8724bd45330cc67'