We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snaphu
logging
The current version runs snaphu in a subprocess and only captures stderr. Snaphu's logging all goes to stdout:
stderr
stdout
$ python test_conncomp_regrow.py > std_out.log (mapping-311) staniewi:snaphu-py$ cat std_out.log $ cat std_out.log snaphu v2.0.6 19 parameters input from file /var/folders/hw/sj9hl8555s36n00t812twvcr0000gq/T/tmpl49af4b1/snaphu.conf (19 lines total) Creating temporary directory /var/folders/hw/sj9hl8555s36n00t812twvcr0000gq/T/tmpl49af4b1/snaphu_tiles_23572 Unwrapping tile at row 0, column 0 (pid 23575) Unwrapping tile at row 0, column 1 (pid 23577) ... (etc)
It would be nice to pipe this through python's logging so the application calling snaphu has better control of the formatting/location of the logs.
Multiple possible solutions here: https://stackoverflow.com/questions/4417546/constantly-print-subprocess-output-while-process-is-running
The text was updated successfully, but these errors were encountered:
try passing to python logging to fix isce-framework#15
65a0ffa
No branches or pull requests
The current version runs snaphu in a subprocess and only captures
stderr
. Snaphu's logging all goes tostdout
:$ python test_conncomp_regrow.py > std_out.log (mapping-311) staniewi:snaphu-py$ cat std_out.log $ cat std_out.log snaphu v2.0.6 19 parameters input from file /var/folders/hw/sj9hl8555s36n00t812twvcr0000gq/T/tmpl49af4b1/snaphu.conf (19 lines total) Creating temporary directory /var/folders/hw/sj9hl8555s36n00t812twvcr0000gq/T/tmpl49af4b1/snaphu_tiles_23572 Unwrapping tile at row 0, column 0 (pid 23575) Unwrapping tile at row 0, column 1 (pid 23577) ... (etc)
It would be nice to pipe this through python's
logging
so the application callingsnaphu
has better control of the formatting/location of the logs.Multiple possible solutions here: https://stackoverflow.com/questions/4417546/constantly-print-subprocess-output-while-process-is-running
The text was updated successfully, but these errors were encountered: