Skip to content

Commit

Permalink
prevent duplicated deletion attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
endixk authored Dec 24, 2024
1 parent 061fb4c commit 3aa7354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/createdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ fn _run_python(combined_aa: &String, curr_dir: &str, parent: &str, output: &str,
// Delete intermediate files
if !keep {
// std::fs::remove_file(mapping_file)?;
std::fs::remove_file(combined_aa)?;
// std::fs::remove_file(combined_aa)?;
std::fs::remove_file(input_3di)?;
std::fs::remove_file(inter_prob)?;
}
Expand All @@ -263,4 +263,4 @@ fn _run_python(combined_aa: &String, curr_dir: &str, parent: &str, output: &str,
// chkpnt::write_checkpoint(&format!("{}/createdb.chk", parent), "1")?;

Ok(())
}
}

0 comments on commit 3aa7354

Please sign in to comment.