From d5eab61f5ea14b15771f56e1240cfc11b88d417b Mon Sep 17 00:00:00 2001 From: Timothy Willard <9395586+TimothyWillard@users.noreply.github.com> Date: Fri, 8 Nov 2024 14:53:21 -0500 Subject: [PATCH] Remove `--nthin` from `flepimop submit` --- flepimop/gempyor_pkg/src/gempyor/batch.py | 7 ------- .../src/gempyor/templates/emcee_inference.sbatch.j2 | 1 - 2 files changed, 8 deletions(-) diff --git a/flepimop/gempyor_pkg/src/gempyor/batch.py b/flepimop/gempyor_pkg/src/gempyor/batch.py index 37d610d64..e2cdd4aa7 100644 --- a/flepimop/gempyor_pkg/src/gempyor/batch.py +++ b/flepimop/gempyor_pkg/src/gempyor/batch.py @@ -708,12 +708,6 @@ def _job_name(name: str | None, timestamp: datetime | None) -> str: "If not provided a temporary file will be used." ), ), - click.Option( - param_decls=["--nthin", "nthin"], - type=click.IntRange(min=5), - default=5, - help="The number of samples to thin.", - ), click.Option( param_decls=["--id", "--run-id", "run_id"], envvar="FLEPI_RUN_INDEX", @@ -846,7 +840,6 @@ def _click_submit(ctx: click.Context = mock_context, **kwargs) -> None: "job_name": job_name, "jobs": job_size.jobs, "nslots": job_size.simulations, - "nthin": kwargs["nthin"], "prefix": kwargs["prefix"], "project_path": kwargs["project_path"].absolute(), "run_id": kwargs["run_id"], diff --git a/flepimop/gempyor_pkg/src/gempyor/templates/emcee_inference.sbatch.j2 b/flepimop/gempyor_pkg/src/gempyor/templates/emcee_inference.sbatch.j2 index c707c73db..d171aff17 100644 --- a/flepimop/gempyor_pkg/src/gempyor/templates/emcee_inference.sbatch.j2 +++ b/flepimop/gempyor_pkg/src/gempyor/templates/emcee_inference.sbatch.j2 @@ -56,7 +56,6 @@ flepimop-calibrate --config $CONFIG_PATH \ --project_path $PROJECT_PATH \ --nslots {{ nslots }} \ --niterations {{ simulations }} \ - --nthin {{ nthin }} \ --jobs {{ jobs }} \ --id {{ run_id }} \ {%- if prefix is defined and prefix is not none %}