Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

simultaneously load multiple dataframes to lyse GUI

42 views
Skip to first unread message

Huan Bui

unread,
Jun 23, 2024, 2:19:00 PM6/23/24
to the labscript suite
Hi all, 

In the lab, I often have multiple dataframes saved to a single folder. When I want to load all of them to lyse for re-analysis, say, I have to manually load them one by one. 

Is there a way to load multiple dataframes simultaneously to the lyse GUI? 

Thanks!
Huan

dihm....@gmail.com

unread,
Jul 8, 2024, 9:44:49 PM7/8/24
to the labscript suite
Hello Huan,

It is possible if you don't mind modifying the source code, otherwise, it is not supported currently and honestly it isn't high on my personal priority list of labscript things to work on ATM.

Should you be interested in tackling the task yourself, though, a Pull Request would be very welcome! The changes required appear to be fairly minimal (no promises though, Qt can be tricky at times). The function that needs to be changed is here. Basically, instead of calling QFileDialog.getOpenFileName we would need to call QFileDialog.getOpenFileNames. The remaining function would then need some minor modifications to loop over the list of returned file names and load them one by one.

-David

Huan Bui

unread,
Jul 29, 2024, 12:23:28 AM7/29/24
to the labscript suite
Hi David,

Thanks for the suggestion! I'll give it a try.

Best,
Huan 
Reply all
Reply to author
Forward
0 new messages