czbiohub-sf / Rapid-QC-MS

Realtime quality control for mass spectrometry data acquisition
https://czbiohub-sf.github.io/Rapid-QC-MS
Other
15 stars 2 forks source link

Implement data acquisition listener #20

Closed wasimsandhu closed 2 years ago

wasimsandhu commented 2 years ago

Not sure where the script for the run listener is... Sarah mentioned before that there is a "scheduled job on the instrument machine that pulls the info from the DB, so know what to look for on the files; it runs every 5 min."

@sarah-biohub could you help me find this code in your repository please?

Maybe relevant: https://github.com/czbiohub/MSPipeline/blob/main/scripts/copyRawfiles/copyRawfileMoutedDrive.py

wasimsandhu commented 2 years ago

These StackOverflow threads mention both a native Python approach as well as a library called watchdog for listening to files.

wasimsandhu commented 2 years ago

Follow changes to AcquisitionListener.py.

wasimsandhu commented 2 years ago
Screen Shot 2022-09-29 at 3 12 36 PM Screen Shot 2022-09-29 at 3 12 55 PM
wasimsandhu commented 2 years ago

Important note for Help documentation: https://stackoverflow.com/questions/65348890/python-was-not-found-run-without-arguments-to-install-from-the-microsoft-store