Package snomed mapping as a totalsegmentator package resource#325
Conversation
|
Very cool, thank you @jcfr! 🥇 @wasserth for the background, the motivation for this is to make it easier to reuse this mapping by the users of the package. Currently, there is a duplicate out-of-sync mapping in SlicerTotalSegmentator extension. Jointly with #324 we are trying to consolidate and remove duplication to simplify maintenance. |
|
Thanks for this PR. This sounds reasonable. I am not very familiar with adding data files to the package. |
40d4409 to
9a79e24
Compare
|
Thanks for the review 🙏
This was on oversight1, the settings in Footnotes
|
|
This looks better. Thank you! |
…omed_mapping-csv Package snomed mapping as a totalsegmentator package resource

totalsegmentatornamespace packagetotalsegmentatorpackage. See https://setuptools.pypa.io/en/latest/userguide/datafiles.htmlTo retrieve the location after installing
totalsegmentator, the following may be done:We could also look into adding the code above directly into
totalsegmentator/__init__.pycc: @fedorov @lassoan