BoPeng / simuPOP

A general-purpose forward-time population genetics simulation environment.
http://bopeng.github.io/simuPOP/
GNU General Public License v2.0
31 stars 12 forks source link

Is it possible to suppress output from a `CSVExporter`? #45

Closed ashander closed 6 years ago

ashander commented 6 years ago

Exporting will write lines like Exporting....1....2....3....4....5....6....7....8....9.... Done. to standard out.

From the simuOpt help for gui=, the definition of .ProgressBar(), and these lines in .Exporter() it does not seem possible to suppress these. In small tests I also haven't been able to find a combination of options that will suppress the output.

BoPeng commented 6 years ago

Cannot recall the details but did you try gui='batch'?

ashander commented 6 years ago

Aha! Thanks that works, which I should've seen from the code I linked :)

I think I didn't try it because the [help for that parameter in simuOpt read to me as if it will work as default. Which I thought was a graphical GUI (same as `gui=None').