Skip to content

feat: adding 50bp filter for REF/ALT on clinvar-sv import (#293) #380

feat: adding 50bp filter for REF/ALT on clinvar-sv import (#293)

feat: adding 50bp filter for REF/ALT on clinvar-sv import (#293) #380

Triggered via pull request November 16, 2023 07:57
@holtgreweholtgrewe
opened #294
Status Success
Total duration 11s
Artifacts

conventional-prs.yml

on: pull_request_target
title-format
2s
title-format
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
title-format
The following actions uses node12 which is deprecated and will be forced to run on node16: amannn/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
this expression creates a reference which is immediately dereferenced by the compiler: src/clinvar_sv/cli/query.rs#L342
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/clinvar_sv/cli/query.rs:342:60 | 342 | print_record(&mut out_writer, args.out_format, &record)?; | ^^^^^^^ help: change this to: `record` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/clinvar_sv/cli/query.rs#L339
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/clinvar_sv/cli/query.rs:339:20 | 339 | .query(&range) | ^^^^^^ help: change this to: `range` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/clinvar_sv/cli/query.rs#L279
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/clinvar_sv/cli/query.rs:279:48 | 279 | let contig = extract_chrom::from_range(&range, Some(&self.meta.genome_release))?; | ^^^^^^ help: change this to: `range` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: src/clinvar_sv/cli/import.rs#L53
warning: the borrowed expression implements the required traits --> src/clinvar_sv/cli/import.rs:53:38 | 53 | Box::new(std::fs::File::open(&path_in_jsonl)?) | ^^^^^^^^^^^^^^ help: change this to: `path_in_jsonl` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: src/clinvar_sv/cli/import.rs#L50
warning: the borrowed expression implements the required traits --> src/clinvar_sv/cli/import.rs:50:13 | 50 | &path_in_jsonl, | ^^^^^^^^^^^^^^ help: change this to: `path_in_jsonl` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
redundant field names in struct initialization: src/clinvar_sv/cli/query.rs#L223
warning: redundant field names in struct initialization --> src/clinvar_sv/cli/query.rs:223:13 | 223 | meta: meta, | ^^^^^^^^^^ help: replace it with: `meta` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names = note: `#[warn(clippy::redundant_field_names)]` on by default