-
Notifications
You must be signed in to change notification settings - Fork 40
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
Print blank lines #31
Comments
I have the same problem. I am running
|
Hi Marina and Jiapei,
Thanks a lot for the feedbacks and sorry for not addressing this earlier than expected. I am working on it to get rid of the blank line and should be able to get a version in one day or two.
Kai
…________________________________
From: Marina Siebold ***@***.***>
Sent: Monday, July 29, 2024 5:47 AM
To: zhaokg/Rbeast ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [zhaokg/Rbeast] Print blank lines (Issue #31)
This Message Is From an External Sender
This message came from outside your organization.
Report Suspicious<https://us-phishalarm-ewt.proofpoint.com/EWT/v1/KGKeukY!sOQa9oxq6IzjhvN7tabs9NSmo9UkDV6DXu4M2RA6lgklrNYjD6ZFg0FLh2opeXwZ5nyzc-H40sUgiXIwYHULhwdWJcy76RECHNs$>
I have the same problem. I am running o.rbeast(...) in a loop, and the blank lines clutter my notebook. As a workaround, I suppress it with:
import contextlib, io
with contextlib.redirect_stdout(io.StringIO()):
o = rb.beast(...)
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/zhaokg/Rbeast/issues/31*issuecomment-2255482272__;Iw!!KGKeukY!xjwwNts6ABup3T8ku3zq2JEHYqP9UKnKRopZx6ZsJ03n-twrlhELjx09v4DLMkpiLjlLjulR_0tZ8eAh2fw_yYAXKJ4V$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AMCAGWVSS6DVZARRVXRG65DZOYFTLAVCNFSM6AAAAABJ3WHKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJVGQ4DEMRXGI__;!!KGKeukY!xjwwNts6ABup3T8ku3zq2JEHYqP9UKnKRopZx6ZsJ03n-twrlhELjx09v4DLMkpiLjlLjulR_0tZ8eAh2fw_yewPnJUW$>.
You are receiving this because you are subscribed to this thread.
|
Hello JiaPei and Marina, I posted a new version of Rbeast that doesn't print the empty line if set to the quiet mode. Can you please give it a try? You can first uninstall the old version by "pip uninstall Rbeast", and then install the new version by "pip install Rbeast==0.1.20". Hopefully it works on your end. Please let me know if not. Kaiguang |
Thanks for the quick update, @zhaokg ! |
Maria,
Thanks for testing. Not sure about what happened on your end. Interestingly enough, I tested it in both a terminal and notebook and found no problem. See the screenshots below.
From a terminal
![image](https://github.com/user-attachments/assets/6b4af42a-0385-4fde-ad69-5640f36260ef)
In a notebook.
![image](https://github.com/user-attachments/assets/d837eab9-1803-4981-b6f3-6b58aa221d3f)
Can you please make sure to install the latest version? Use "pip install Rbeast==0.1.20" to explicilty specify the version.
Kaiguang
|
Must have been a fault on my side, sorry! I retook all steps and now it works fine. Sorry for the confusion and thanks a lot for the effort :) |
In above code, even after setting various print prohibitions, blank lines are still printed. This causes the progress bar to display incorrectly when used with the tqdm library for batch calls.
The text was updated successfully, but these errors were encountered: