pyconcorde
pyconcorde copied to clipboard
Is there anyway to suppress the output from concorde?
I've tried fiddling with the "silent" variable but I can't seem to get it to work
@alexletu sorry for dropping the ball on this. I have seen this too, not sure what's going on.
It looks like concorde is printing directly to stdout and stderr. There's not much to be done about this from Python; if the output is really an issue, you can try fiddling with those file descriptors similar to what's done here.
I'd love a solution to this as well! I know it's not that important but it's pretty annoying. Other than that, GREAT library, easy to use and well documented
@nathanielmhld Thanks for the follow-up and sorry for not responding earlier. I just wanted to point out, the 0.2.0 API for this library will run concorde in a subprocess, which will make it easier to handle stdout/stderr. See https://github.com/jvkersch/pyconcorde/issues/28#issuecomment-770354999 for more details.
Is there any updates on this? It is still totally unusable for projects that run concorde lots of times.
@whiterock Not yet, but the 0.2.0 API is in a branch, and I will make some effort to finish it off soon
Any updates on this?