Skip to content

Commit 29e6701

Browse files
Fix error message formatting in ORFI type documentation for clarity
1 parent 64efc0b commit 29e6701

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/src/orftype.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ The `ORFI` type in `GeneFinder` is designed to enforce stricter validation, prev
66
ORFI{4,NaiveFinder}(1:10, '+', 4) # Or any F <: GeneFinderMethod
77

88
ERROR: MethodError: no method matching OpenReadingFrameInterval{4, NaiveFinder}(::UnitRange{Int64}, ::Char, ::Int64)
9+
The type `OpenReadingFrameInterval{4, NaiveFinder}` exists, but no method is defined for this combination of argument types when trying to construct it.
910

1011
Closest candidates are:
11-
(::Type{OpenReadingFrameInterval{N, F}} where {N, F})(::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any)
12-
@ GeneFinder ~/.julia/dev/GeneFinder/src/types.jl:49
13-
OpenReadingFrameInterval{N, F}(::Type{F}, ::String, ::Int64, ::Int64, ::Strand, ::Int8, ::LongSubSeq{DNAAlphabet{N}}, ::NamedTuple) where {N, F<:GeneFinder.GeneFinderMethod}
14-
@ GeneFinder ~/.julia/dev/GeneFinder/src/types.jl:58
12+
(::Type{OpenReadingFrameInterval{N, F}} where {N, F<:GeneFinder.GeneFinderMethod})(::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any)
13+
@ GeneFinder ~/.julia/dev/GeneFinder/src/types.jl:51
14+
OpenReadingFrameInterval{N, F}(::Type{F}, ::String, ::Int64, ::Int64, ::GenomicFeatures.Strand, ::Int8, ::BioSequences.LongSubSeq{BioSequences.DNAAlphabet{N}}, ::NamedTuple) where {N, F<:GeneFinder.GeneFinderMethod}
15+
@ GeneFinder ~/.julia/dev/GeneFinder/src/types.jl:64
1516

1617
Stacktrace:
1718
[1] top-level scope
18-
@ REPL[21]:1
19+
@ REPL[3]:1
1920
```
2021

2122
### Validation Rules

0 commit comments

Comments
 (0)