Skip to content

Commit

Permalink
Add --purge-time and --fill-time
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 12, 2023
1 parent 17ca4a8 commit aee1f7f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/ln2fill/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ def update_options(
help="Maximum cryostat temperature if --check-temperature. "
"Defaults to internal value.",
)
@click.option(
"--purge-time",
type=float,
help="Purge time in seconds. If not provided, the thermistors will be used.",
)
@click.option(
"--min-purge-time",
type=float,
Expand All @@ -199,6 +204,11 @@ def update_options(
type=float,
help="Maximum purge time in seconds. Defaults to internal value. Disable with -1.",
)
@click.option(
"--fill-time",
type=float,
help="Fill time in seconds. If not provided, the thermistors will be used.",
)
@click.option(
"--min-fill-time",
type=float,
Expand Down
2 changes: 2 additions & 0 deletions src/ln2fill/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ class OptionsType(TypedDict):
min_pressure: float
max_temperature: float
min_temperature: float
purge_time: Optional[float]
min_purge_time: float
max_purge_time: float
fill_time: Optional[float]
min_fill_time: float
max_fill_time: float
quiet: bool
Expand Down

0 comments on commit aee1f7f

Please sign in to comment.