Open achillesrasquinha opened 2 years ago
Good idea. We already have rich as a dependency, so would be better to use rich.progress.track for that. There should also be a toggle to turn that on and off, since some workloads may run an FVA for thousands of models and may not want a progress bar for each iteration. Or one could couple it to the logging level and only show it on INFO...
I'll do that accordingly.
@cdiener Done. PF Pull Request.
Checklist
Is your feature related to a problem? Please describe it.
Describe the solution you would like.
The currently implementation of FVA within cobrapy is generally slow (definitely improved using the
processes
flag. Would be nice to see the current progress since the program sometimes seems stalled for large networks. What say? I was planning on usingtqdm
withinvariability.py
at line 247.e.g.
Describe alternatives you considered
Additional context