Skip to content

Commit

Permalink
feat: allow varfish case resubmission (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolai-vKuegelgen authored Feb 8, 2024
1 parent cb10dbb commit 964bcac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cubi_tk/snappy/varfish_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ def setup_argparse(cls, parser: argparse.ArgumentParser) -> None:
required=False,
help="Assume yes to all answers",
)
parser.add_argument(
"--force-resubmit",
"-f",
action="store_true",
required=False,
help="Force re-submission of exitsing cases in varfish.",
)
parser.add_argument(
"--samples",
help=(
Expand Down Expand Up @@ -271,6 +278,7 @@ def _process_dataset(self, ds: DataSet):
"--verbose",
"importer",
"caseimportinfo-create",
"--resubmit" if self.args.force_resubmit else "",
sodar_uuid,
*sorted(found.values()),
]
Expand Down

0 comments on commit 964bcac

Please sign in to comment.