diff --git a/.github/workflows/cross-compile.yml b/.github/workflows/cross-compile.yml index 6eb7f3e..558f4fd 100644 --- a/.github/workflows/cross-compile.yml +++ b/.github/workflows/cross-compile.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - lfs: ${{ startsWith(github.ref, 'refs/tags/') }} + lfs: true - name: Setup Python uses: actions/setup-python@v5 @@ -231,9 +231,7 @@ jobs: set -e python -m pip install pytest pandas python -m pytest -v test_ui_metric_command_builder.py test_quick_cli.py -k "help or version_information or no_subcommand" - python -m pytest -v \ - test_adad_cli.py::TestAdniPetCoreCLI::test_requires_tracer \ - test_adad_cli.py::TestAdniPetCoreCLI::test_rejects_unknown_tracer + python -m pytest -v test_adad_cli.py - name: Run dcccpy tests (Linux PR) if: github.event_name == 'pull_request' && runner.os == 'Linux' diff --git a/localizer/src/metrics/adad/ADADService.cpp b/localizer/src/metrics/adad/ADADService.cpp index 7c13d92..c43a6b8 100644 --- a/localizer/src/metrics/adad/ADADService.cpp +++ b/localizer/src/metrics/adad/ADADService.cpp @@ -28,6 +28,8 @@ SpatialNormalizationRequest buildNormalizationRequest(const ADADCLIOptions& opti request.options.enableDebugOutput = options.enableDebugOutput; request.options.debugOutputBasePath = options.enableDebugOutput ? debugBasePath : std::string{}; request.options.enableAdniPetCore = true; + request.options.adniPetTracer = + Common::path::toLower(options.modality) == "tau" ? "tau" : "abeta"; return request; }