Browse Source

[config] add flag when running batches to close figures

Gaspard Jankowiak 11 months ago
parent
commit
d3339a6363
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/CellSim.jl

+ 4
- 0
src/CellSim.jl View File

@@ -536,6 +536,10 @@ function launch(P::CSC.Params, F::CSC.Flags, config)
536 536
         Plotting.plot_metrics(metrics)
537 537
     end
538 538
 
539
+    if get(config, "batch", false)
540
+        Plotting.close()
541
+    end
542
+
539 543
     return
540 544
 end
541 545
 

Loading…
Cancel
Save