diff --git a/src/seqvars/query/mod.rs b/src/seqvars/query/mod.rs index 02ef244a..5e9e4191 100644 --- a/src/seqvars/query/mod.rs +++ b/src/seqvars/query/mod.rs @@ -759,12 +759,9 @@ mod gene_related_annotation { let (tx_accession, tx_version) = if ann.feature_id.is_empty() { (None, None) } else { - let feature_id_split: Vec<&str> = - ann.feature_id.split(".").collect::>(); + let feature_id_split: Vec<&str> = ann.feature_id.split(".").collect::>(); let tx_accession = feature_id_split.first().map(|s| s.to_string()); - let tx_version = feature_id_split - .get(1) - .and_then(|s| s.parse::().ok()); + let tx_version = feature_id_split.get(1).and_then(|s| s.parse::().ok()); (tx_accession, tx_version) };