Skip to content

Commit

Permalink
Merge pull request NationalGenomicsInfrastructure#77 from remiolsen/f…
Browse files Browse the repository at this point in the history
…ix_lenient

Bug fix for lenient mode and prepare release of 0.6.1
  • Loading branch information
remiolsen authored Feb 16, 2024
2 parents ff1b71a + 991b3d2 commit db19f30
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ RUN eval "$(micromamba shell hook --shell bash)" && python -m pip install -e .[d
# Main
#####
FROM base as main
USER $MAMBA_USER
RUN eval "$(micromamba shell hook --shell bash)" && python -m pip install .[dev]
RUN eval "$(micromamba shell hook --shell bash)" && python -m pip install .[dev]
USER $MAMBA_USER
2 changes: 1 addition & 1 deletion anglerfish/anglerfish.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def run_demux(args):
adaptors_sorted[key], fragments, args.max_distance, **rev
)
flipped[flip] = (rc_matches, rc_no_matches, len(rc_matches))
best_flip = max(zip(flipped.values(), flipped.keys()))[1]
best_flip = max(flipped, key=lambda k: flipped[k][2])

# There are no barcode flips with unambiguously more matches, so we abort
if (
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

version = "0.6.1-dev"
version = "0.6.1"

setup(
name="bio-anglerfish",
Expand Down

0 comments on commit db19f30

Please sign in to comment.