checksum-directory, publish-xenium-results: Introduce checksums folder mode - #568
Draft
ce10-sanger wants to merge 6 commits into
Draft
checksum-directory, publish-xenium-results: Introduce checksums folder mode#568ce10-sanger wants to merge 6 commits into
ce10-sanger wants to merge 6 commits into
Conversation
Test failure accounting
Test symbolic links skipped
ce10-sanger
force-pushed
the
finish-pre-2026-upload
branch
from
June 23, 2026 09:01
2e51f1d to
40ee60e
Compare
ce10-sanger
marked this pull request as ready for review
June 23, 2026 09:23
ce10-sanger
commented
Jun 23, 2026
| Supports two modes of specifying checksum locations: | ||
|
|
||
| - Explicitly specifying a file to write checksums to (`--md5sums-path`) | ||
| - Specifying a directory (`--checksums-directory`). Checksums are written to a |
Contributor
Author
There was a problem hiding this comment.
md5sums-directory?
ce10-sanger
commented
Jun 23, 2026
| - Explicitly specifying a file to write checksums to (`--md5sums-path`) | ||
| - Specifying a directory (`--checksums-directory`). Checksums are written to a | ||
| file within the directory that can be uniquely retrieved by other | ||
| npg-irods-python utilities. |
Contributor
Author
There was a problem hiding this comment.
explain structure of dir of files with one file per dir
ce10-sanger
commented
Jun 23, 2026
|
|
||
| The output follows GNU coreutils md5sum format. Checksum files (*.md5) are | ||
| ignored. Files with existing checksums are skipped. | ||
|
|
Contributor
Author
There was a problem hiding this comment.
simpler just to have one file?
ce10-sanger
commented
Jun 23, 2026
| continue | ||
|
|
||
| with open(path, "rb") as f: | ||
| if file_path.is_symlink(): |
Contributor
Author
There was a problem hiding this comment.
fix problem at source rather than filtering out?
Contributor
Author
There was a problem hiding this comment.
decided to add as flag
Contributor
Author
There was a problem hiding this comment.
label up as a workaround
ce10-sanger
marked this pull request as draft
June 23, 2026 11:32
Contributor
Author
|
moved back to draft - will return to decisions when learnt more from building xenium automation |
Contributor
Author
|
Docs unclear whether directory of files per file or files per directory
|
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.
Introduces a new checksumming mode - checksums folder - where instead of specifying a checksums file you specify a directory and the tools calculate location of the checksums file within the checksums folder.
Motivated by adopting checksumming in Xenium publishing and not wanting to change the interface of
publish-xenium-resultsfrom accepting directories to publish one per line.