Bug: CenTauRz calculation fails due to unsupported --input argument
Description
A user reported that the CenTauRz calculation fails in the 3D Slicer DCCC/PET Metric Calculator module.
When clicking the CenTauRz calculation function, an error dialog appears:
Failed to calculate CenTauRz
Error: Unknown argument: --input
usage: CentiloidCalculator [-h] [--version] [--ADNI-PET-core]
[--iterative] [--manual-fov-placement]
[--decouple VAR] inputPath outputPath image path
The error suggests that the Slicer module is passing an argument named --input, but the backend CLI currently expects positional arguments such as inputPath, outputPath, and image path.
Screenshot
The screenshot provided by the user shows the error dialog in 3D Slicer 5.6.2 when using the PET Metric Calculator module and selecting CenTauRz.
Expected behavior
The CenTauRz calculation should run normally after selecting the input PET image and output path from the Slicer module.
Actual behavior
The calculation fails immediately with:
Error: Unknown argument: --input
Possible cause
There may be a mismatch between the Slicer GUI wrapper and the CentiloidCalculator command-line interface:
- The GUI appears to pass
--input
- The CLI parser expects positional arguments instead of an
--input option
This may require either:
- Updating the Slicer module to pass positional arguments correctly, or
- Updating the CLI parser to accept
--input / --output style arguments for compatibility with the GUI.
Environment
- 3D Slicer version: 5.6.2
- Module: PET Metric Calculator
- Biomarker: CenTauRz
- Platform: Windows, based on the screenshot
Additional context
The issue appears when calculating CenTauRz from the GUI. It is unclear whether the same problem also affects Centiloid or other biomarker calculations.
Bug reported by Dr. Yulai Li @ Xiangya Hospital
Bug: CenTauRz calculation fails due to unsupported
--inputargumentDescription
A user reported that the CenTauRz calculation fails in the 3D Slicer DCCC/PET Metric Calculator module.
When clicking the CenTauRz calculation function, an error dialog appears:
The error suggests that the Slicer module is passing an argument named
--input, but the backend CLI currently expects positional arguments such asinputPath,outputPath, andimage path.Screenshot
The screenshot provided by the user shows the error dialog in 3D Slicer 5.6.2 when using the PET Metric Calculator module and selecting CenTauRz.
Expected behavior
The CenTauRz calculation should run normally after selecting the input PET image and output path from the Slicer module.
Actual behavior
The calculation fails immediately with:
Possible cause
There may be a mismatch between the Slicer GUI wrapper and the
CentiloidCalculatorcommand-line interface:--input--inputoptionThis may require either:
--input/--outputstyle arguments for compatibility with the GUI.Environment
Additional context
The issue appears when calculating CenTauRz from the GUI. It is unclear whether the same problem also affects Centiloid or other biomarker calculations.