WasatchPhotonics / ENLIGHTEN

Open-source spectroscopy application for controlling and taking measurements from Wasatch Photonics spectrometers.
https://wasatchphotonics.com/product-category/software/
MIT License
3 stars 6 forks source link

Fixed --plugin autoload #310

Closed mzieg closed 6 months ago

mzieg commented 10 months ago

The --plugin command-line had been working from source, and "sort-of" worked from the installer...depending on what calls you make from the plug-in. I haven't entirely worked out what the rules are (and am too tired to think it through), but it "felt right" that delaying plugin initialization until after the spectrometer was fully connected was likely to simplify all manner of potential race conditions. And it seemed to fix things in testing (from the installer).

Also, cut a 4.1.0-dev branch :-)

mzieg commented 10 months ago

It's possible this broke something in another project. Just tagging for reference.

samiebee43 commented 10 months ago

Is this ready for review?

mzieg commented 10 months ago

I thought it was, but I think I need to do some more testing myself. Moved back to draft.

mzieg commented 6 months ago

OBE