oasys-kit / XOPPY

XOPPY widgets for OASYS
BSD 2-Clause "Simplified" License
4 stars 7 forks source link

Undulator radiation widget error while h5 file reading #115

Open jureyherrera opened 2 months ago

jureyherrera commented 2 months ago

There is an error when reading h5 file, which was created by the widget itself:

Exception Traceback (most recent call last): File "~\Miniconda3\lib\site-packages\orangewidget\gui.py", line 2502, in __call__ self.f(**kwds) File "~\Miniconda3\lib\site-packages\orangecontrib\xoppy\widgets\source\undulator_radiation.py", line 356, in read_or_write_file raise Exception("Bad data from file.") Exception: Bad data from file.

Cheers, J