From 2b8283e8b6954173418831e64602583b874e9bd5 Mon Sep 17 00:00:00 2001 From: Manuel Holtgrewe Date: Thu, 5 Oct 2023 14:46:22 +0200 Subject: [PATCH] feat: exposing utility functions for pedigree / vcf building --- src/annotate/strucvars/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/annotate/strucvars/mod.rs b/src/annotate/strucvars/mod.rs index 7b37fcd4..8bff8b1a 100644 --- a/src/annotate/strucvars/mod.rs +++ b/src/annotate/strucvars/mod.rs @@ -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"), @@ -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"),