tsfel icon indicating copy to clipboard operation
tsfel copied to clipboard

Progress bar still show up with verbose = 0

Open patrickfleith opened this issue 3 years ago • 9 comments

Hi, unless I misunderstood how to fully disable progress bar, the time_series_features_extractor() stil displays a progress bar. It stays empty but still it prints something out which cause me troubles when trying to integrate tsfel with streamlit.

image

patrickfleith avatar Jan 13 '22 10:01 patrickfleith

Sorry for the delay. It seems it is indeed not working as expected. I'll try to replicate your issue. Can you please confirm if you're running on Windows, Linux or macOS?

dmfolgado avatar Jan 18 '22 10:01 dmfolgado

Sure: I am on macOS Big Sur 11.3.1

patrickfleith avatar Jan 18 '22 10:01 patrickfleith

And just to confirm you're running the latest version (0.1.4) of TSFEL?

dmfolgado avatar Jan 18 '22 11:01 dmfolgado

Yes confirmed 0.1.4

patrickfleith avatar Jan 18 '22 11:01 patrickfleith

I did some quick troubleshooting using Ubuntu 20.04.3 LTS. It seems the unexpected behavior is only present when running TSFEL in the Jupyter Notebook. Can you test running TSFEL on the ipython console to check if it persists? If it's the case we your have to investigate what is causing the unexpected behaviour in the Jupyter Notebook.

dmfolgado avatar Jan 18 '22 11:01 dmfolgado

I'll have a look on Thursday/Friday and come back to you

patrickfleith avatar Jan 18 '22 12:01 patrickfleith

Hi, I've run the same command from spyder 5.2.2 IPython Console. With verbose=1, the the progress bar appears as expected, with verbose=0, the progress does not appears, as expected. So no problem there.

patrickfleith avatar Feb 01 '22 11:02 patrickfleith

I think this is what is causing my code not to run on Windows + Interactive on VS code. I just ran my python script on the terminal and it worked, the progress bar wasn't shown.

mmarcato avatar Feb 16 '22 11:02 mmarcato

I met the same problem in the Jupyter notebook. It seems that here need to add verbose==1 in the condition

# Starting the display of progress bar for notebooks interfaces
if (get_ipython().__class__.__name__ == 'ZMQInteractiveShell') or (get_ipython().__class__.__name__ == 'Shell'):
    out = display(progress_bar_notebook(0, len(signal_windows)), display_id=True)

hanlinGao avatar May 26 '22 11:05 hanlinGao