lassoan / SlicerTotalSegmentator

Fully automatic total body segmentation in 3D Slicer using "TotalSegmentator" AI model
Apache License 2.0
176 stars 25 forks source link

Various minor fixes associated with functionality in the "Advanced" section #54

Closed jamesobutler closed 8 months ago

jamesobutler commented 8 months ago

@lassoan Here is a collection of small changes to fix typos and other incorrect information in tooltips for "Advanced" area functionality.

jamesobutler commented 8 months ago

@lassoan BUG: Fix traceback checking versions during installation address the following traceback that I observed when testing with https://github.com/lassoan/SlicerTotalSegmentator/commit/5c0d3b89d6b788edaac22dae472a5c61d6eec1b5.

Traceback (most recent call last):
  File "C:/GitHub/SlicerTotalSegmentator/TotalSegmentator/TotalSegmentator.py", line 268, in onApplyButton
    self.logic.setupPythonRequirements()
  File "C:/GitHub/SlicerTotalSegmentator/TotalSegmentator/TotalSegmentator.py", line 755, in setupPythonRequirements
    if packaging.version.parse(importlib.metadata.version("dynamic_network_architectures")) == packaging.version.parse("0.4"):
AttributeError: module 'packaging' has no attribute 'version'
jamesobutler commented 8 months ago

cc: @lassoan Would be good to get the bug fix in for the packaging related traceback.

lassoan commented 8 months ago

Thanks a lot for the fixes!