Skip to content

Commit

Permalink
fix: interpret --cores argument (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Jun 21, 2023
1 parent a3fc327 commit 3b09803
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clinvar_tsv/__main__.py
Expand Up @@ -39,7 +39,7 @@ def run_main(args):
"printshellcmds": True,
"verbose": True,
"force_incomplete": True,
"cores": 8,
"cores": args.cores,
}
print(f"Running snakemake {kwargs}")
return not snakemake.snakemake(**kwargs)
Expand Down Expand Up @@ -121,7 +121,7 @@ def main(argv=None):
"--b38-path", required=True, help="Path to GRCh38 FAI-indexed FASTA file."
)
parser_main.add_argument("--work-dir", default=os.getcwd(), help="Path to working directory")
parser_main.add_argument("--cores", default=1, type=int, help="Number of cores to use")
parser_main.add_argument("--cores", default=8, type=int, help="Number of cores to use")
parser_main.add_argument(
"--debug", default=False, action="store_true", help="Enables debugging helps"
)
Expand Down

0 comments on commit 3b09803

Please sign in to comment.