pyconcorde icon indicating copy to clipboard operation
pyconcorde copied to clipboard

Is there anyway to suppress the output from concorde?

Open alexletu opened this issue 6 years ago • 7 comments

I've tried fiddling with the "silent" variable but I can't seem to get it to work

alexletu avatar Apr 28 '18 08:04 alexletu

@alexletu sorry for dropping the ball on this. I have seen this too, not sure what's going on.

jvkersch avatar May 05 '18 20:05 jvkersch

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.

jvkersch avatar May 06 '18 21:05 jvkersch

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 avatar Dec 26 '18 03:12 nathanielmhld

@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.

jvkersch avatar Jan 31 '21 10:01 jvkersch

Is there any updates on this? It is still totally unusable for projects that run concorde lots of times.

whiterock avatar Jan 15 '23 23:01 whiterock

@whiterock Not yet, but the 0.2.0 API is in a branch, and I will make some effort to finish it off soon

jvkersch avatar Jan 16 '23 06:01 jvkersch

Any updates on this?

aslacour avatar Jul 25 '23 03:07 aslacour