diff --git a/aphylogeo/multiProcessor.py b/aphylogeo/multiProcessor.py index dd43873..f063450 100644 --- a/aphylogeo/multiProcessor.py +++ b/aphylogeo/multiProcessor.py @@ -285,13 +285,11 @@ def terminalUpdate(self, memBlock): ) print("Min memory per: ", round(self.mem1.value / 10000000) / 100, "Gb ", end="\n", flush=True) - print("Time for one: ", round(self.timeForOne.value * 10) / 10, " seconds ", flush=True) - print("---") - - print("Started: ", s, "/", a, " ", round(s / a * 100), "% ", flush=True) - print("Finished: ", f, "/", s, " ", round(f / a * 100), "% ", flush=True) + if (a!=0): + print("Started: ", s, "/", a, " ", round(s / a * 100), "% ", flush=True) + print("Finished: ", f, "/", s, " ", round(f / a * 100), "% ", flush=True) print("Time elapsed: ", eTime, " seconds ", flush=True) print("---")