Skip to content

Commit

Permalink
Fix score field declaration in Gene and ORF structs
Browse files Browse the repository at this point in the history
  • Loading branch information
camilogarciabotero committed Mar 29, 2024
1 parent 2b5c8fc commit 80a8918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ abstract type AbstractGene end
stop::Int64
strand::Char
frame::Int8
score::Union{Float64, Nothing} # Add score field
score::Union{Nothing, Float64} # Add score field
attribute::Dict
end
Expand Down Expand Up @@ -39,7 +39,7 @@ This is the main Gene struct, based on the fields that could be found in a GFF3,
location::UnitRange{Int64}
strand::Char
frame::Int
score::Union{Float64, Nothing} # Add score field
score::Union{Nothing, Float64}
end
The ORF struct represents an open reading frame in a DNA sequence. It has two fields:
Expand Down

0 comments on commit 80a8918

Please sign in to comment.