Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add biotype vaultRNA_primary_transcript #180

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/data/cdot/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,8 @@
UnprocessedPseudogene,
#[serde(rename = "vault_RNA")]
VaultRna,
#[serde(rename = "vaultRNA_primary_transcript")]
VaultRnaPrimaryTranscript,
#[serde(rename = "V_segment")]
VSegment,
#[serde(rename = "V_gene_segment")]
Expand Down Expand Up @@ -851,11 +853,11 @@
cigar: exon.cigar.clone(),
tx_aseq: None,
alt_aseq: None,
tx_exon_set_id: std::i32::MAX,

Check warning on line 856 in src/data/cdot/json.rs

View workflow job for this annotation

GitHub Actions / clippy

usage of a legacy numeric constant

warning: usage of a legacy numeric constant --> src/data/cdot/json.rs:856:37 | 856 | tx_exon_set_id: std::i32::MAX, | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: `#[warn(clippy::legacy_numeric_constants)]` on by default help: use the associated constant instead | 856 | tx_exon_set_id: i32::MAX, | ~~~~~~~~
alt_exon_set_id: std::i32::MAX,

Check warning on line 857 in src/data/cdot/json.rs

View workflow job for this annotation

GitHub Actions / clippy

usage of a legacy numeric constant

warning: usage of a legacy numeric constant --> src/data/cdot/json.rs:857:38 | 857 | alt_exon_set_id: std::i32::MAX, | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 857 | alt_exon_set_id: i32::MAX, | ~~~~~~~~
tx_exon_id: std::i32::MAX,

Check warning on line 858 in src/data/cdot/json.rs

View workflow job for this annotation

GitHub Actions / clippy

usage of a legacy numeric constant

warning: usage of a legacy numeric constant --> src/data/cdot/json.rs:858:33 | 858 | tx_exon_id: std::i32::MAX, | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 858 | tx_exon_id: i32::MAX, | ~~~~~~~~
alt_exon_id: std::i32::MAX,

Check warning on line 859 in src/data/cdot/json.rs

View workflow job for this annotation

GitHub Actions / clippy

usage of a legacy numeric constant

warning: usage of a legacy numeric constant --> src/data/cdot/json.rs:859:34 | 859 | alt_exon_id: std::i32::MAX, | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 859 | alt_exon_id: i32::MAX, | ~~~~~~~~
exon_aln_id: std::i32::MAX,

Check warning on line 860 in src/data/cdot/json.rs

View workflow job for this annotation

GitHub Actions / clippy

usage of a legacy numeric constant

warning: usage of a legacy numeric constant --> src/data/cdot/json.rs:860:34 | 860 | exon_aln_id: std::i32::MAX, | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 860 | exon_aln_id: i32::MAX, | ~~~~~~~~
})
.collect())
} else {
Expand Down
Loading