diff --git a/.github/create_macro.py b/.github/create_macro.py index d3eeba4c..51cba3bf 100644 --- a/.github/create_macro.py +++ b/.github/create_macro.py @@ -113,6 +113,7 @@ def parse_model_paths(models): macro = MACRO_STR.format(model_path="[" + mfp + "]", input_path="[" + os.path.join(mfp, sample_name) + "]", output_folder="[" + mfp + "]") else: macro = MACRO_STR.format(model_path=mfp, input_path=os.path.join(mfp, sample_name), output_folder=mfp) + macro = macro.replace(os.sep, os.sep + os.sep) file.write(macro + os.linesep) print(macro) diff --git a/.github/workflows/integration_test.yaml b/.github/workflows/integration_test.yaml index 34bddbbd..a9b8b264 100644 --- a/.github/workflows/integration_test.yaml +++ b/.github/workflows/integration_test.yaml @@ -97,6 +97,7 @@ jobs: -json_fpath ${{ env.JSON_FPATH }} - name: Run macros + shell: bash run: | fiji/Fiji.app/${{ matrix.fiji_executable }} --headless --console --debug -macro ${{ env.MACRO_FPATH }}