File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,8 @@ const GRCh38_p13: &[u8] = include_bytes!("data/GCF_000001405.39_GRCh38.p13_assem
6060/// If the builtin assembly report cannot be parsed (should not happen).
6161pub fn get_grch37_p13 ( ) -> GenomeBuild {
6262 let id = GenomeBuildIdentifier :: from ( ( "GRCh37" , "p13" ) ) ;
63- parse_assembly_report ( id, GRCh37_p13 ) . expect ( "The embedded assembly report for GRCh37.p13 should be valid" )
63+ parse_assembly_report ( id, GRCh37_p13 )
64+ . expect ( "The embedded assembly report for GRCh37.p13 should be valid" )
6465}
6566
6667/// Get the *GRCh38.p13* build.
@@ -70,7 +71,8 @@ pub fn get_grch37_p13() -> GenomeBuild {
7071/// If the builtin assembly report cannot be parsed (should not really happen).
7172pub fn get_grch38_p13 ( ) -> GenomeBuild {
7273 let id = GenomeBuildIdentifier :: from ( ( "GRCh38" , "p13" ) ) ;
73- parse_assembly_report ( id, GRCh38_p13 ) . expect ( "The embedded assembly report for GRCh38.p13 should be valid" )
74+ parse_assembly_report ( id, GRCh38_p13 )
75+ . expect ( "The embedded assembly report for GRCh38.p13 should be valid" )
7476}
7577
7678/// Parse an assembly report into a [`GenomeBuild`].
Original file line number Diff line number Diff line change @@ -347,10 +347,7 @@ impl ContigBuilder<WithNameAndLength> {
347347 }
348348
349349 /// Set the UCSC accession (e.g. `"chrY"` for chromosome Y).
350- pub fn ucsc_name (
351- self ,
352- ucsc_name : impl ToString ,
353- ) -> ContigBuilder < WithNameLengthAndAltNames > {
350+ pub fn ucsc_name ( self , ucsc_name : impl ToString ) -> ContigBuilder < WithNameLengthAndAltNames > {
354351 ContigBuilder {
355352 state : WithNameLengthAndAltNames {
356353 name : self . state . name ,
@@ -409,10 +406,7 @@ impl ContigBuilder<WithNameLengthAndAltNames> {
409406 }
410407
411408 /// Set the UCSC accession (e.g. `"chrY"` for chromosome Y).
412- pub fn ucsc_name (
413- self ,
414- ucsc_name : impl ToString ,
415- ) -> ContigBuilder < WithNameLengthAndAltNames > {
409+ pub fn ucsc_name ( self , ucsc_name : impl ToString ) -> ContigBuilder < WithNameLengthAndAltNames > {
416410 ContigBuilder {
417411 state : WithNameLengthAndAltNames {
418412 name : self . state . name ,
You can’t perform that action at this time.
0 commit comments