feat: range and accession queries for gnomad-sv #392
conventional-prs.yml
on: pull_request_target
title-format
2s
Annotations
8 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/
|
the borrowed expression implements the required traits:
src/tsv/cli/import/mod.rs#L183
warning: the borrowed expression implements the required traits
--> src/tsv/cli/import/mod.rs:183:9
|
183 | &format!("{}", args.genome_release),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("{}", args.genome_release)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
this expression creates a reference which is immediately dereferenced by the compiler:
src/gnomad_sv/cli/query.rs#L312
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/gnomad_sv/cli/query.rs:312:56
|
312 | let record = decode_record(&raw_value, &meta)
| ^^^^^ help: change this to: `meta`
|
= 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/gnomad_sv/cli/query.rs#L312
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/gnomad_sv/cli/query.rs:312:44
|
312 | let record = decode_record(&raw_value, &meta)
| ^^^^^^^^^^ help: change this to: `raw_value`
|
= 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/gnomad_sv/cli/import/gnomad_sv4.rs#L368
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/gnomad_sv/cli/import/gnomad_sv4.rs:368:40
|
368 | .map(|path_in_tsv| import_file(&db, cf_data_name, path_in_tsv))
| ^^^ help: change this to: `db`
|
= 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
|
the borrowed expression implements the required traits:
src/gnomad_nuclear/cli/import.rs#L346
warning: the borrowed expression implements the required traits
--> src/gnomad_nuclear/cli/import.rs:346:57
|
346 | db.put_cf(&cf_meta, "gnomad-age-distributions", &age_distributions)?;
| ^^^^^^^^^^^^^^^^^^ help: change this to: `age_distributions`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
src/gnomad_nuclear/cli/import.rs#L343
warning: the borrowed expression implements the required traits
--> src/gnomad_nuclear/cli/import.rs:343:53
|
343 | db.put_cf(&cf_meta, "gnomad-dbsnp-version", &dbsnp_version)?;
| ^^^^^^^^^^^^^^ help: change this to: `dbsnp_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
src/gnomad_nuclear/cli/import.rs#L340
warning: the borrowed expression implements the required traits
--> src/gnomad_nuclear/cli/import.rs:340:51
|
340 | db.put_cf(&cf_meta, "gnomad-vep-version", &vep_version)?;
| ^^^^^^^^^^^^ help: change this to: `vep_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|