NSLS-II / lsdc

LSDC - Life Sciences Data Collection
https://nsls-ii.github.io/lsdc
BSD 3-Clause "New" or "Revised" License
3 stars 14 forks source link

Startup checks don't happen during monitor handling #364

Closed vshekar closed 7 months ago

vshekar commented 8 months ago

Occasionally when LSDC starts up, there are 2 subFrames that open within Albula

This happens if there is a collection running during LSDC GUI start up. Its because in "monitor mode" LSDC checks if there is a subFrame already open, if not it will open a new one. During initialization albula is in a weird state such that it tells LSDC that there is no subframe open (even though there is one) so it opens 2 subframes.

This change removes the check to see if there is a subframe, and fixes the problem