summaryrefslogtreecommitdiff
path: root/chain/src
diff options
context:
space:
mode:
Diffstat (limited to 'chain/src')
-rw-r--r--chain/src/item/genins.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/chain/src/item/genins.rs b/chain/src/item/genins.rs
index 0de7198..bad0cfd 100644
--- a/chain/src/item/genins.rs
+++ b/chain/src/item/genins.rs
@@ -211,7 +211,7 @@ impl DefaultForest<ForestLabel<GrammarLabel>> {
// Whether or not to print detailed graphs of each step of
// operation for debugging purposes.
- let mut to_print = true;
+ let mut to_print = false;
if std::fs::metadata("output/").is_err() {
to_print = false;
@@ -235,11 +235,7 @@ impl DefaultForest<ForestLabel<GrammarLabel>> {
let num = {
let mut repetition = 0;
- while std::fs::metadata(format!(
- "/Users/durand/Desktop/Centre/A propos de programmes/Rust/rep/chain/output/pos {pos} - {repetition}.gv"
- ))
- .is_ok()
- {
+ while std::fs::metadata(format!("output/pos {pos} - {repetition}.gv")).is_ok() {
repetition += 1;
}