Conversation
Important! Template update for nf-core/tools v3.3.2
Massive linting fixes and other minor changes
Added new module and subworkflow for opt, Ci fix changes
Multisample support for spatialxe runs
Testing changes and code formatting
Collaborator
Author
|
Renaming of the pipeline is complete |
an-altosian
added a commit
to an-altosian/spatialaxe
that referenced
this pull request
May 28, 2026
Bug 2 from the Atera compatibility report: 19 modules using
python3 ${moduleDir}/templates/<script>.py
fail on Tower / AWS Batch with
python3: can't open file '/.nextflow/assets/an-altosian/spatialaxe/modules/local/<x>/templates/<script>.py': [Errno 2] No such file or directory
because ${moduleDir} interpolates the head-node path into .command.sh,
but the templates aren't staged at that absolute path on AWS Batch
workers. The path resolves to /.nextflow/... (leading slash) because
HOME is empty inside the worker container.
This regressed in PR nf-core#154 (commits 4f21dd2 -> ea46ad0 -> dbd7a35) which
moved the scripts from bin/ into per-module templates/ folders to
satisfy PR nf-core#139's no-module-level-bin review. The follow-up dbd7a35
switched from the 'template <file>.py' directive (which broke eval() in
non-Bash interpreters) to the shell-call invocation above -- which
works in local nf-test but breaks on Tower.
Fix: move the 20 scripts from modules/local/<x>/templates/ back to the
top-level bin/ directory, and invoke them by name. Nextflow auto-adds
bin/ to PATH on workers, so this works on Tower (and matches the
nf-core canonical pattern used by most pipelines). PR nf-core#139's review was
specifically about MODULE-level bin (modules/local/<x>/bin/) -- top-level
bin/ remains permissible.
Also cleans up 3 pre-existing unused imports in spatialdata_{merge,meta,write}.py
that ruff flagged once the scripts moved into the linted bin/ path.
Affected (19 modules, 20 scripts):
- baysor/{create_dataset,preprocess}
- ficture/preprocess
- segger/{create_dataset,predict}
- spatialdata/{merge,meta,write}
- utility/{convert_mask_uint32,downscale_morphology,extract_dapi,
extract_preview_data,get_coordinates,parquet_to_csv,
resize_tif,segger2xr,split_transcripts,upscale_mask}
- xenium_patch/stitch (2 scripts: stitch_transcripts + stitch_postprocess)
The orphaned pre-refactor bin/stitch_transcripts.py is overwritten by
the canonical templates/ version (sopa-based solve_conflicts() impl).
awgymer
reviewed
Jun 2, 2026
awgymer
left a comment
There was a problem hiding this comment.
Do these need to be changed:
docs/images/spatialaxe-logo.svg:10: sodipodi:docname="spatialxe-logo.svg"
docs/images/spatialaxe-logo.svg:12: inkscape:export-filename="spatialxe-logo.png"
docs/images/spatialaxe-metromap.svg:12: sodipodi:docname="spatialxe-metromap.svg"
docs/images/spatialaxe-metromap.svg:13: inkscape:export-filename="spatialxe-metromap.png"
Just minor change to rename stuff in the svgs
Collaborator
Author
|
Fixed the issues commented before |
awgymer
approved these changes
Jun 15, 2026
|
You still need a 2nd approving review from someone else who hasn't worked on the code. |
kubranarci
reviewed
Jun 16, 2026
kubranarci
left a comment
Contributor
There was a problem hiding this comment.
I see that in many of the local modules and subworkflows, the topic migration is done for main.nf yet meta.yml is not updated accordingly.
Adressing Kubras comments for release PR
kubranarci
approved these changes
Jun 17, 2026
kubranarci
left a comment
Contributor
There was a problem hiding this comment.
Congrats over your first release!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The first release version of spatialxe. During the developemnt many tools were debugged, and new tools were added.
Since it is a first release thorough review is required.
PR checklist
nf-core lint).nextflow run . -profile test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).