-
Notifications
You must be signed in to change notification settings - Fork 270
Skip printing progress_bare when verbose is False #935
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #935 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 33 34 +1
Lines 5640 5801 +161
======================================
- Misses 5640 5801 +161 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This is not what the verbose option is used for, it's specifically for adding low-level debugging information to the log. The progress bar is necessary for the GUI animation. Are you just wanting an option to skip printing the progress bar updates in the log when running through API? |
Thanks @jacobpennington, I misinterpreted it then!
Exactly what I'm looking for |
Okay, thanks. This was on the todo list at some point, I'll take another look. I'd rather not add yet another option to manually disable something that shouldn't happen in the first place, if possible. I.e. the progress bar should never appear in the logs, I just hadn't figured out how to prevent that without disabling it altogether. |
I think that something like this might work:
I'll give it a shot! |
I guess I misremembered this issue... Looking at the logs generated now, I don't see any of the tqdm progress bar information there when running Kilosort4 on its own. I do remember seeing user-posted logs that included progress bar spam, but now that I look back all of those were people who used KS4 through spikeinterface. There was also an issue for a while with a log not being generated when using spikeinterface, although it seems that was fixed at some point. Regardless, SI seems to be interfering with the logging behavior somehow. Can you please confirm which conditions result in the log spam? I.e. running with API or GUI, with or without spikeinterface. |
Hi Jakob, this is runnning through the API. Here is the recent PR interacting with the KS4 logger. SpikeInterface/spikeinterface#3866 |
I still haven't been able to reproduce this. Unless someone can provide an example of this without using Spikeinterface, I don't see anything to change on the Kilosort end. |
No description provided.