BioJulia / BioAlignments.jl

Sequence alignment tools
MIT License
60 stars 24 forks source link

`AlignmentAnchor` method signature #69

Open CiaranOMara opened 2 years ago

CiaranOMara commented 2 years ago

The following was caught as an unrelated error in a BGZFStreams.jl downstream test.

MethodError: no method matching AlignmentAnchor(::Int64, ::Int64, ::BioAlignments.Operation)
[243](https://github.com/BioJulia/BGZFStreams.jl/runs/5163487858?check_suite_focus=true#step:6:243)
  Closest candidates are:
[244](https://github.com/BioJulia/BGZFStreams.jl/runs/5163487858?check_suite_focus=true#step:6:244)
    AlignmentAnchor(::Any, ::Any, ::Any, ::Any) at ~/.julia/packages/BioAlignments/EyHqv/src/anchors.jl:13
[245](https://github.com/BioJulia/BGZFStreams.jl/runs/5163487858?check_suite_focus=true#step:6:245)
    AlignmentAnchor(::Int64, ::Int64, ::Int64, ::BioAlignments.Operation) at ~/.julia/packages/BioAlignments/EyHqv/src/anchors.jl:13

Let us yank v2.0.1 and v2.1.0 of BioAlignments at JuliaRegistries/General.

Then I think the easiest fix is to go straight to v3, or we would need to resupply the v2 method signature AlignmentAnchor(::Int64, ::Int64, ::BioAlignments.Operation) and tag as v2.1.1.


Edited for clarity.

kescobo commented 2 years ago

just for reference, v2.0.1 actually isn't in the general registry, it was rejected because it includes narrowing the supported julia versions. But I had tagged it for Zenodo to fix #65