Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

feat: Return the status of unproductive contigs in is_valid function #942

feat: Return the status of unproductive contigs in is_valid function

feat: Return the status of unproductive contigs in is_valid function #942

Triggered via pull request August 24, 2023 21:56
Status Success
Total duration 8m 50s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
calling `set_len()` immediately after reserving a buffer creates uninitialized values: vector_utils/src/lib.rs#L490
warning: calling `set_len()` immediately after reserving a buffer creates uninitialized values --> vector_utils/src/lib.rs:490:5 | 490 | x.reserve(n); | ^^^^^^^^^^^^^ 491 | x.set_len(n); /* unsafe */ | ^^^^^^^^^^^^ | = help: initialize the buffer or wrap the content in `MaybeUninit` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninit_vec note: the lint level is defined here --> vector_utils/src/lib.rs:487:8 | 487 | #[warn(clippy::uninit_vec)] | ^^^^^^^^^^^^^^^^^^
this function has too many arguments (9/7): pretty_trace/src/lib.rs#L764
warning: this function has too many arguments (9/7) --> pretty_trace/src/lib.rs:764:1 | 764 | / fn force_pretty_trace_fancy( 765 | | log_file_name: String, 766 | | fd: i32, 767 | | exit_message: Option<String>, ... | 773 | | function_to_run: Option<fn(&str) -> ()>, 774 | | ) { | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments = note: `#[warn(clippy::too_many_arguments)]` on by default
this function has too many arguments (8/7): vdj_ann/src/annotate.rs#L227
warning: this function has too many arguments (8/7) --> vdj_ann/src/annotate.rs:227:1 | 227 | / pub fn annotate_seq_core( 228 | | b: &DnaString, 229 | | refdata: &RefData, 230 | | ann: &mut Vec<(i32, i32, i32, i32, i32)>, ... | 235 | | verbose: bool, 236 | | ) { | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments = note: `#[warn(clippy::too_many_arguments)]` on by default
strict comparison of `f32` or `f64`: vdj_ann/src/annotate.rs#L1595
warning: strict comparison of `f32` or `f64` --> vdj_ann/src/annotate.rs:1595:54 | 1595 | let c1 = m1 == m2 && !have_utr_align2 && err1_nu == err2_nu && outside1 > outside2; | ^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(err1_nu - err2_nu).abs() < error_margin` | = note: `f32::EPSILON` and `f64::EPSILON` are available for the `error_margin` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp = note: requested on the command line with `-W clippy::float-cmp`
strict comparison of `f32` or `f64`: vdj_ann/src/annotate.rs#L1596
warning: strict comparison of `f32` or `f64` --> vdj_ann/src/annotate.rs:1596:54 | 1596 | let c2 = m2 == m1 && !have_utr_align1 && err2_nu == err1_nu && outside2 > outside1; | ^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(err2_nu - err1_nu).abs() < error_margin` | = note: `f32::EPSILON` and `f64::EPSILON` are available for the `error_margin` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp
strict comparison of `f32` or `f64`: vdj_ann/src/annotate.rs#L1605
warning: strict comparison of `f32` or `f64` --> vdj_ann/src/annotate.rs:1605:37 | 1605 | || (m1 == m2 && err1 == err2 && outside1 > outside2) | ^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(err1 - err2).abs() < error_margin` | = note: `f32::EPSILON` and `f64::EPSILON` are available for the `error_margin` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp
strict comparison of `f32` or `f64`: vdj_ann/src/annotate.rs#L1606
warning: strict comparison of `f32` or `f64` --> vdj_ann/src/annotate.rs:1606:37 | 1606 | || (m1 == m2 && err1 == err2 && outside1 == outside2 && t1 < t2) | ^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(err1 - err2).abs() < error_margin` | = note: `f32::EPSILON` and `f64::EPSILON` are available for the `error_margin` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp
strict comparison of `f32` or `f64`: vdj_ann/src/annotate.rs#L1606
warning: strict comparison of `f32` or `f64` --> vdj_ann/src/annotate.rs:1606:53 | 1606 | || (m1 == m2 && err1 == err2 && outside1 == outside2 && t1 < t2) | ^^^^^^^^^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(outside1 - outside2).abs() < error_margin` | = note: `f32::EPSILON` and `f64::EPSILON` are available for the `error_margin` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp
strict comparison of `f32` or `f64`: vdj_ann/src/annotate.rs#L1622
warning: strict comparison of `f32` or `f64` --> vdj_ann/src/annotate.rs:1622:37 | 1622 | || (m2 == m1 && err2 == err1 && outside2 > outside1) | ^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(err2 - err1).abs() < error_margin` | = note: `f32::EPSILON` and `f64::EPSILON` are available for the `error_margin` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp
strict comparison of `f32` or `f64`: vdj_ann/src/annotate.rs#L1623
warning: strict comparison of `f32` or `f64` --> vdj_ann/src/annotate.rs:1623:37 | 1623 | || (m2 == m1 && err2 == err1 && outside2 == outside1 && t2 < t1) | ^^^^^^^^^^^^ help: consider comparing them within some margin of error: `(err2 - err1).abs() < error_margin` | = note: `f32::EPSILON` and `f64::EPSILON` are available for the `error_margin` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp