Skip to content

docs: clarify Path.name for staged process path inputs#6869

Merged
bentsherman merged 2 commits intonextflow-io:masterfrom
LarytheLord:docs/clarify-taskpath-name-5718
Feb 26, 2026
Merged

docs: clarify Path.name for staged process path inputs#6869
bentsherman merged 2 commits intonextflow-io:masterfrom
LarytheLord:docs/clarify-taskpath-name-5718

Conversation

@LarytheLord
Copy link
Contributor

Summary

Clarifies Path.name behavior in the stdlib reference for process task paths.

The current name property description says it returns only the file name, but for process path inputs staged into subdirectories it can include the staged relative path (for example my-dir/file.txt). This PR adds that caveat and points users to fileName.name for the leaf filename.

Change

  • Updated docs/reference/stdlib-types.md under name: String.

Why

This keeps stdlib-types consistent with the behavior documented in process.md and avoids confusion reported in #5718.

Refs: #5718

@LarytheLord LarytheLord requested a review from a team as a code owner February 26, 2026 08:00
@netlify
Copy link

netlify bot commented Feb 26, 2026

Deploy Preview for nextflow-docs-staging ready!

Name Link
🔨 Latest commit ba31613
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/69a057501dea5f000888f799
😎 Deploy Preview https://deploy-preview-6869--nextflow-docs-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Signed-off-by: LarytheLord <llawlietbagsum@gmail.com>
@LarytheLord LarytheLord force-pushed the docs/clarify-taskpath-name-5718 branch from 22b36c5 to 65e7723 Compare February 26, 2026 08:01
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
@bentsherman bentsherman merged commit 0a1f624 into nextflow-io:master Feb 26, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants