Skip to content

Commit

Permalink
feat: exposing utility functions for pedigree / vcf building (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored Oct 5, 2023
1 parent 7e94b86 commit 7d77f35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/annotate/strucvars/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ pub mod vcf_header {
}

/// Helper that returns header string value for `sex`.
fn sex_str(sex: Sex) -> String {
pub fn sex_str(sex: Sex) -> String {
match sex {
Sex::Male => String::from("Male"),
Sex::Female => String::from("Female"),
Expand All @@ -401,7 +401,7 @@ pub mod vcf_header {
}

// Helper that returns header string value for `disease`.
fn disease_str(disease: Disease) -> String {
pub fn disease_str(disease: Disease) -> String {
match disease {
Disease::Affected => String::from("Affected"),
Disease::Unaffected => String::from("Unaffected"),
Expand Down

0 comments on commit 7d77f35

Please sign in to comment.