-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Try fixing the docs pipeline. * Add entry point * Fix CLI configuration * Minor refactoring * Finish the script
- Loading branch information
1 parent
ab10a03
commit 7eab01a
Showing
6 changed files
with
418 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Subpackage with scripts.""" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
"""Script gathering Freyja files into one CSV.""" | ||
from typing import Annotated | ||
|
||
import typer | ||
|
||
|
||
def freyja_gather( | ||
directory: Annotated[str, typer.Argument(help="Directory with Freyja output")], | ||
metadata: Annotated[str, typer.Argument(help="Metadata")], | ||
output: Annotated[str, typer.Argument(help="Desired output location")], | ||
): | ||
"""Gathers Freyja-demixed files from the given directory into the output CSV, | ||
adding the metadata.""" | ||
typer.echo( | ||
"This function is not implemented yet. It will be added at a later time." | ||
) | ||
typer.Exit(code=1) | ||
# Add your processing logic here |
Oops, something went wrong.