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

Merge workspaces on Google Drive sync opt-in after setup #68

Open wasimsandhu opened 1 year ago

wasimsandhu commented 1 year ago

If a user has an MS-AutoQC workspace in Google Drive, and the user tries to enable Google Drive sync on an instrument from Settings > General on an installation that's already been setup, the app prevents this from happening. This was because all instrument data used to be stored in a single database, and merging databases would have been a hassle.

Now, each instrument has its own database. Thus, merging workspaces should now now simple: new instruments should be added to the instruments table in the Settings database, and the instrument database(s) should be uploaded to Google Drive.

Check out update_google_drive_sync_status_in_settings() in the DashWebApp module.