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

Bump rust version and transitive deps. #65

Merged
merged 3 commits into from
Mar 30, 2022
Merged
Show file tree
Hide file tree
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: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.58.1
toolchain: 1.59.0
default: true
- name: Make release build
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.58.1
toolchain: 1.59.0
components: rustfmt
default: true
- name: Checkout bamtofastq master
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.58.1
toolchain: 1.59.0
components: rustfmt, clippy
default: true
- name: Checkout bamtofastq master
Expand Down
65 changes: 33 additions & 32 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ curl = ["rust-htslib/curl"]
docopt = "*"
rust-htslib = { version = "0.38", default-features = false }
flate2 = { version = "1.0", features = ["zlib"], default-features = false }
libz-sys = "1.1.5"
shardio = "0.8.2"
bincode = "1"
itertools = ">=0.8.0"
Expand Down
2 changes: 1 addition & 1 deletion src/locus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ impl fmt::Display for Locus {

fn remove_commas(s: &str) -> String {
let ss = s.to_string();
ss.replace(",", "")
ss.replace(',', "")
}

impl FromStr for Locus {
Expand Down
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ impl FormatBamRecords {
rg_spec: rgs,
r1_spec: spec.remove("R1").unwrap(),
r2_spec: spec.remove("R2").unwrap(),
i1_spec: spec.remove("I1").unwrap_or_else(Vec::new),
i2_spec: spec.remove("I2").unwrap_or_else(Vec::new),
i1_spec: spec.remove("I1").unwrap_or_default(),
i2_spec: spec.remove("I2").unwrap_or_default(),
rename: seq_names,
order: [1, 3, 2, 4],
})
Expand Down Expand Up @@ -668,7 +668,7 @@ impl FastqManager {
for (_, &(ref _samp, lane)) in formatter.rg_spec.iter() {
let samp = _samp.clone();
let path = sample_def_paths.entry(samp).or_insert_with(|| {
let suffix = _samp.replace(":", "_");
let suffix = _samp.replace(':', "_");

//create_dir(&samp_path).expect("couldn't create output directory");
out_path.join(suffix)
Expand Down