From a897ceca02b78a9426652ac3092c79278cdc681c Mon Sep 17 00:00:00 2001 From: pi coding agent Date: Thu, 22 Oct 2026 18:59:33 +0000 Subject: Move scripts into the uploader package Move the top-level `scripts` package to `uploader/scripts` so that it becomes the `uploader.scripts` package. All files are moved unchanged; references are updated in a follow-up commit. --- scripts/rqtl2/cli_parser.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 scripts/rqtl2/cli_parser.py (limited to 'scripts/rqtl2/cli_parser.py') diff --git a/scripts/rqtl2/cli_parser.py b/scripts/rqtl2/cli_parser.py deleted file mode 100644 index 9bb60a3..0000000 --- a/scripts/rqtl2/cli_parser.py +++ /dev/null @@ -1,23 +0,0 @@ -"""Utilities for CLI parsers specific to R/qtl2 parsing scripts.""" -from pathlib import Path -from argparse import ArgumentParser - -def add_bundle_argument(parser: ArgumentParser) -> ArgumentParser: - """Add the `rqtl2bundle` argument.""" - parser.add_argument("rqtl2bundle", - type=Path, - help="Path to R/qtl2 bundle zip file.") - return parser - - -def add_datasetid_argument(parser: ArgumentParser) -> ArgumentParser: - """Add the `datasetid` argument.""" - parser.add_argument("datasetid", - type=int, - help="The dataset to which the data belongs.") - return parser - - -def add_common_arguments(parser: ArgumentParser) -> ArgumentParser: - """Add common arguments to the CLI parser.""" - return add_bundle_argument(add_datasetid_argument(parser)) -- cgit 1.4.1