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

--verbose is still rather taciturn #45

Open
mmtrebuchet opened this issue Jan 29, 2024 · 1 comment
Open

--verbose is still rather taciturn #45

mmtrebuchet opened this issue Jan 29, 2024 · 1 comment

Comments

@mmtrebuchet
Copy link

It'd be nice if --verbose added some more information about progress as the algorithm runs. As it stands, --verbose adds exactly two output lines in the entire program. While the multi-stage nature of the Modisco algorithm means that a progress bar is not very meaningful, I'd like to get updates to know how far the program has gotten, especially when I do something weird and it crashes. Particularly when I'm starting out with a project, I'd like to know if my modisco run is going to take thirty minutes or five hours.

Even if there's not a time estimate, just seeing an occasional

INFO: 2024-01-29 13:38:34 tfmodisco.py:174: Positive seqlets refinement, phase 3/5, round 1/2

in the logs would be nice.

I'm very fond of the logging library in Python, since you just have to configure the logger once and then you don't have to pass a verbose parameter to every function call, but that's definitely personal taste.

@jmschrei
Copy link
Owner

jmschrei commented Feb 2, 2024

Thanks for the suggestion. I agree that this would be useful, but I think it's unlikely that I have time to modify tfmodisco in any way in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants