Skip to content

Commit

Permalink
Merge branch 'main' into issue314/crash-if-no-run-folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Adoni5 authored Dec 22, 2023
2 parents 6d96ac8 + caacb02 commit dec7d9f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ And for our Awesome Logo please checkout out [@tim_bassford](https://twitter.com
<!-- start-changelog -->
# Changelog
## Unreleased changes
None currently.
1. Change the default `unblock_duration` on the `Analysis` class to use `DEFAULT_UNBLOCK` value defined in `_cli_args.py`. Change type on the Argparser for `--unblock-duration` to float. (#313)
## 2023.1.1
1. Fix Readme Logo link 🥳 (#296)
1. Fix bug where we had accidentally started requiring barcoded TOMLs to specify a region. Thanks to @jamesemery for catching this. (#299)
Expand Down
2 changes: 1 addition & 1 deletion src/readfish/_cli_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"--unblock-duration",
dict(
metavar="UNBLOCK-DURATION",
type=int,
type=float,
help="Time, in seconds, to apply unblock voltage (default: {})".format(
DEFAULT_UNBLOCK
),
Expand Down
4 changes: 2 additions & 2 deletions src/readfish/entry_points/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
from minknow_api import protocol_service

# Library
from readfish._cli_args import DEVICE_BASE_ARGS
from readfish._cli_args import DEVICE_BASE_ARGS, DEFAULT_UNBLOCK
from readfish._read_until_client import RUClient
from readfish._config import Action, Conf, make_decision, _Condition
from readfish._statistics import ReadfishStatistics
Expand Down Expand Up @@ -148,7 +148,7 @@ def __init__(
logger: logging.Logger,
debug_log: bool,
throttle: float = 0.1,
unblock_duration: float = 0.5,
unblock_duration: float = DEFAULT_UNBLOCK,
dry_run: bool = False,
toml: str = "a.toml",
):
Expand Down

0 comments on commit dec7d9f

Please sign in to comment.