Skip to content

Commit

Permalink
implement default for SequenceReadPairOrientation.
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Jan 8, 2021
1 parent 02c1288 commit 105e206
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/sequence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
use strum_macros::{AsRefStr, Display};
use SequenceReadPairOrientation::None;

/// A DNA base
pub type Base = u8;
Expand Down Expand Up @@ -56,3 +57,9 @@ pub enum SequenceReadPairOrientation {
R2R1,
None,
}

impl Default for SequenceReadPairOrientation {
fn default() -> Self {
None
}
}

0 comments on commit 105e206

Please sign in to comment.