toolsforexperiments / labcore

Collection of tools developed and maintained by Pfaff Lab
https://toolsforexperiments.github.io/labcore/
2 stars 13 forks source link

The DDH5Writer class might give you the wrong data folder. #34

Open marcosfrenkel opened 5 months ago

marcosfrenkel commented 5 months ago

When you ask the writer for the path of the data folder, this time stamp gets generated every time. This means that if the writer goes on for a long time and you ask for the path later, the folder it returns does not exist because some time has passed.

A link to the referred function: #https://github.com/toolsforexperiments/labcore/blob/0525dab01a7d128d24e956179f7310c2f8f9f46c/labcore/data/datadict_storage.py#L536