Skip to content
New issue

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

[pygenomeworks] logger chatter. #648

Open
iiSeymour opened this issue May 8, 2021 · 2 comments
Open

[pygenomeworks] logger chatter. #648

iiSeymour opened this issue May 8, 2021 · 2 comments
Assignees
Labels
bug Something isn't working cudapoa GPU-based partial order alignment

Comments

@iiSeymour
Copy link
Contributor

When creating a CudaPoaBatch object a default logger is initialized and outputs to stderr.

>>> from genomeworks.cudapoa import CudaPoaBatch
>>> CudaPoaBatch(1000, 1000, 3724032)
GenomeWorks logger not initialized yet. Initializing default logger now.
Initialized GenomeWorks logger with log level ERROR

Can the logger be initialized from Python with a stream to avoid this output?

@vellamike vellamike added bug Something isn't working cudapoa GPU-based partial order alignment labels May 14, 2021
@iiSeymour
Copy link
Contributor Author

cudapoa also outputs to stdout which can go unseen and corrupt output formats (fastx, sam, ect).

@vellamike
Copy link
Contributor

@ohadmo @EpiSlim can we add an option to disable logging completely?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cudapoa GPU-based partial order alignment
Projects
None yet
Development

No branches or pull requests

3 participants