Skip to content

Commit

Permalink
v0.6.6 - corrected a bug when using multiple input files
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrepeterlongo committed Jun 26, 2024
1 parent f31cbe8 commit 2f91a2f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "back_to_sequences"
version = "0.6.5"
version = "0.6.6"
edition = "2021"

authors = [
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ Say you have three input read files `1.fa`, `2.fa`, `3.fa` to which you wish to
1. create an input and an output files:
```bash
ls 1.fa 2.fa 3.fa > in.fof
echo 1_out.fa 2_out.fa 3_out.fa > out.fof
echo "1_out.fa\n2_out.fa\n3_out.fa" > out.fof
```
2. run `back_to_sequences`
```bash
Expand Down
2 changes: 2 additions & 0 deletions VERSIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@
* Fixed a filtering bug: As percentage of shared kmers were rounded to 2 decimals, and as we exclude the min-threshold value,
some reads with shared kmers were discarded while
they contained shared kmers. Now the tset is made before to round values + output values are rounded to 5 decimals.
* 0.6.6 26/06/2024
* Corrected a bug related to the usage of --in-filelist when querying multiple input files

2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub fn validate_non_empty_file(in_file: String) -> anyhow::Result<()> {
anyhow::bail!("{:#} exists, but it's not a file.", in_file)
}
} else {
anyhow::bail!("{:#} exists, but it's not a file.", in_file)
anyhow::bail!("{:#} is not a file.", in_file)
}

Ok(())
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn main() -> anyhow::Result<()> {
env::set_var("RAYON_NUM_THREADS", args.threads.to_string());

// If out_sequences and out_kmers are not provided, we do nothing, we can quit
if args.out_sequences.is_empty() && args.out_kmers.is_empty() {
if args.out_sequences.is_empty() && args.out_filelist.is_empty() && args.out_kmers.is_empty() {
anyhow::bail!("no output file provided, nothing to do");
}

Expand Down

0 comments on commit 2f91a2f

Please sign in to comment.