Skip to content

file_glob: put a slash between remote_directory and the file name - #627

Open
rpinho wants to merge 1 commit into
latchbio:mainfrom
rpinho:fix-latch-paths
Open

rpinho wants to merge 1 commit into
latchbio:mainfrom
rpinho:fix-latch-paths

Conversation

@rpinho

@rpinho rpinho commented Nov 18, 2026

Copy link
Copy Markdown

file_glob("*.fastq.gz", "latch:///fastqc_outputs"), the call shown in its docstring, returns files with remote paths such as latch:///fastqc_outputsa.fastq.gz.
The patch appends / to remote_directory when it does not already end in one.
Tests cover directories with and without a trailing slash, the latch:/// root, file names containing colons, and a destination that is not a URL.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant