Skip to content

Conversation

@standage
Copy link
Member

@standage standage commented Nov 5, 2025

No description provided.

Comment on lines -17 to +27
copier.copy_files(workdir / "seq")
copier.copy_files(workdir / subdir)
copier.print_copy_log()
nlogs = len(list((workdir / "seq").glob("copy-log-*.toml")))
with open(workdir / "seq" / f"copy-log-{nlogs + 1}.toml", "w") as fh:
nlogs = len(list((workdir / subdir).glob("copy-log-*.toml")))
with open(workdir / subdir / f"copy-log-{nlogs + 1}.toml", "w") as fh:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Main change.

Comment on lines +71 to +75
"-s",
"--subdir",
metavar="PATH",
default="seq",
help="subdirectory path under --workdir to which sequence files will be written; PATH=`seq` by default, but can contain nesting (e.g. `seq/study`)",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Configurable now

Comment on lines -41 to +46
parser = ArgumentParser(description="Copy FASTQ files and update sample names")
parser = ArgumentParser(
description="Copy FASTQ files and use sample names to make filenames consistent",
formatter_class=RichHelpFormatter,
)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did a CLI glow-up while I was at it.

@standage standage requested a review from rnmitchell November 5, 2025 15:39
@rnmitchell
Copy link
Contributor

Looks good!

@rnmitchell rnmitchell merged commit b73926a into main Nov 5, 2025
4 checks passed
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.

3 participants