daducci / COMMIT

Linear framework to combine tractography and tissue micro-structure estimation with diffusion MRI
Other
43 stars 33 forks source link

Low Resolution LUT #71

Closed ErickHernandezGutierrez closed 4 years ago

daducci commented 4 years ago

I agree with Mario, this exception must be caught, the execution stopped and a meaningful error should be returned to the user clearly saying he/she needs to recreate the LUT

daducci commented 4 years ago

To be more general, I'd suggest creating a "metadata" file, e.g. dictionary_info.pickle, where we store all the parameters used in the trk2dictionary call. And ndirs would be just one field inside that structure. This would help us a lot in the postprocessing phase for retrieving which were the parameter values used to create that specific dictionary.