Semi-ATE / Metis

STDF to PANDAS data frames conversion.
MIT License
13 stars 4 forks source link

Exception occur if I call the Metis/stdf2ph5.SHP inside the spyder environment #24

Closed Zlin526F closed 2 years ago

Zlin526F commented 2 years ago

Hello, I wrote an plugin for spyder with the Metis-package. When I call SHP.import_stdf_into_hdf5 an exception in spyder occur: image

Unfortunately I also don't get more information about what exactly goes wrong with the internal console of spyder. But if I comment out the line with the tqdm, then it runs. image

seimit commented 2 years ago

Hello, The stdf2ph5.py was written to be command line tool only and thus we used tqdm for process information. I will add one more argument in the SHP to disable the tqdm usage. By default the tqdm will be enabled and you have to disable. Seimit

seimit commented 2 years ago

Hello, I pushed the changes. Now the SHP.import_stdf_into_hdf5 method have 2 more arguments: disable_progress and disable_trace Both of them have default value False. Setting the value to true will disable tqdm library and/or trace in the console. Let me know if this will resolve your problem in your plugin. Seimit