You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the following simple single-shot routine called Example:
from lyse import *
run = Run(path)
run.save_result('result',{'a':1,'b':2})
the result is getting stored in the DataFrame to column ('Example','result') as {'a':1,'b':2}.
After removing and re-adding one shot, the data is then stored as column ('Example','result','a') containing 1 and column ('Example','result','b') containing 2.
I think this is mostly caused by storing the data from the h5 files to dictionaries and then using 'flat_dict_to_hierarchical_dataframe' in the 'dataframe_utilities' when reading a shot. This seems to work totally different to the methods in the main of lyse that usually update the dataframe.
Currently this is no problem to me, but in future I think this bug should be getting fixed.
The text was updated successfully, but these errors were encountered:
When running the following simple single-shot routine called Example:
from lyse import *
run = Run(path)
run.save_result('result',{'a':1,'b':2})
the result is getting stored in the DataFrame to column ('Example','result') as {'a':1,'b':2}.

After removing and re-adding one shot, the data is then stored as column ('Example','result','a') containing 1 and column ('Example','result','b') containing 2.

I think this is mostly caused by storing the data from the h5 files to dictionaries and then using 'flat_dict_to_hierarchical_dataframe' in the 'dataframe_utilities' when reading a shot. This seems to work totally different to the methods in the main of lyse that usually update the dataframe.
Currently this is no problem to me, but in future I think this bug should be getting fixed.
The text was updated successfully, but these errors were encountered: