Skip to content

Commit

Permalink
reverted back to previous README for the rust code
Browse files Browse the repository at this point in the history
  • Loading branch information
mvisani committed Feb 14, 2024
1 parent f24c7b0 commit 0bdae6d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions bindings/sirius-bindings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ let sirius = SiriusBuilder::<Version5>::default()
let input_file_path = Path::new("tests/data/input_sirius.mgf");
let output_file_path = Path::new("tests/data/output_sirius_default");
// In case you need to remove the output directory, uncomment the lines below
// if output_file_path.exists() {
// let _ = std::fs::remove_dir_all(output_file_path);
// }
if output_file_path.exists() {
let _ = std::fs::remove_dir_all(output_file_path);
}
sirius.run(input_file_path, output_file_path).unwrap();
```

Expand Down Expand Up @@ -150,9 +150,9 @@ let sirius = SiriusBuilder::default()
let input_file_path = Path::new("tests/data/input_sirius.mgf");
let output_file_path = Path::new("tests/data/output_sirius");
// In case you need to remove the output directory, uncomment the lines below
// if output_file_path.exists() {
// let _ = std::fs::remove_dir_all(output_file_path);
// }
if output_file_path.exists() {
let _ = std::fs::remove_dir_all(output_file_path);
}
sirius.run(input_file_path, output_file_path).unwrap();
```

Expand All @@ -176,9 +176,9 @@ let sirius = SiriusBuilder::<Version5>::default()
let input_file_path = Path::new("tests/data/input_sirius.mgf");
let output_file_path = Path::new("tests/data/output_sirius_default");
// In case you need to remove the output directory, uncomment the lines below
// if output_file_path.exists() {
// let _ = std::fs::remove_dir_all(output_file_path);
// }
if output_file_path.exists() {
let _ = std::fs::remove_dir_all(output_file_path);
}
sirius.run(input_file_path, output_file_path).unwrap();
```

Expand Down

0 comments on commit 0bdae6d

Please sign in to comment.