BioAlignments.jl icon indicating copy to clipboard operation
BioAlignments.jl copied to clipboard

`AlignmentAnchor` method signature

Open CiaranOMara opened this issue 2 years ago • 1 comments

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.

CiaranOMara avatar Feb 12 '22 00:02 CiaranOMara

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

kescobo avatar Feb 14 '22 15:02 kescobo