Skip to content

Conversation

vagisha
Copy link
Contributor

@vagisha vagisha commented Aug 21, 2024

  • Added a text field for entering the path to an annotations file.
    image
  • Added a FileWatcher that watches for changes in the annotations file.
  • Added a SCIEX WIFF2 option to the "Instrument type" combo box for importing .wiff2 files
  • Ping software version to Panorama server.
  • Deleted SignAfterPublish.bat

Bug fixes:

  • Fix UI freeze. This happens when: 1) Start a config 2) Switch to the log tab 3) Stop the config.
  • Fix log message for selected Skyline settings.
  • Fix OutOfBoundsException in Logger.cs
  • Fix switching log file in the Log tab when a config is selected.
  • Change width of "Folder on Panorama" textbox in the "Panorama" tab
  • Renamed AutoQcConfigManager.State property to AutoQcState to get rid of VisualStudio warning about hiding an inherited member.
  • Do not force user to select "...a root folder for the configurations" if the .qcfg file being imported is in the "Downloads" folder.
  • Save the available Skyline options to user.config after initializing. Otherwise, Skyline and Skyline-daily options are disabled in the "Skyline" setting tab when creating a new configuration.
  • Catch "Exception" instead of an "ArgumentException" when validating a configuration with PanoramaSettings.ValidateSettings(true). This can throw both an ArgumentException and a PanoramaServerException which, in PanoramaClient project, does not inherit from ArgumentException.
  • Fixed bug: Config did not show "Error" status if there was an error uploading to Panorama, and the config was stopped manually. This happened because AutoQcConfigManager.SetConfigEnabled() returns a new State with new config runners that do not copy the RunnerStatus from the current State.
  • Fixed bug: On app startup, PanormaServer validation was happening in one background thread per configuration. This caused a warning "The state of the configuration list has changed...". Configurations that failed Panorama server validation were not being displayed in red.
  • Added "fatal" Panorama errors that will cause a config to stop with an error status. Retrying the import in these cases is never going to succeed unless user takes an action. Example import error on Panorama - "QC folders allow new imports to add or remove peptides...".
  • Upload document to Panorama after the configuration is started if:
    • One or more existing raw files were imported
    • OR none of the existing raw files were imported but the document contains replicates

vagisha added 30 commits June 4, 2024 21:31
… from SkylineBatch and AutoQC. Move required methods to the PanoramaClient project.
- Do not force user to select "...a root folder for the configurations" if the .qcfg file being imported is in the "Downloads" folder.
- Save the available Skyline options to user.config after initializing. Otherwise, Skyline and Skyline-daily options are disabled in the "Skyline" setting tab when creating a new configuration.
- Deleted SignAfterPublish.bat
- Added AnnotationsFileWatcher.cs
- Annotations file is imported when a change is detected.
…d, or the document already had imported replicates.
… to Panorama as long as the document has existing replicates. This should happen even if no existing raw data was found to import, or all existing raw data was skipped because it was older than the most recent replicate in the document.
…figuration with PanoramaSettings.ValidateSettings(true). This can throw both an ArgumentException and a PanoramaServerException which, in PanoramaClient project, does not inherit from ArgumentException.
- Fix bug: Config did not show "Error" status if there was an error uploading to Panorama, and the config was stopped manually.
           AutoQcConfigManager.SetConfigEnabled() returns a new State with new config runners that do not copy the RunnerStatus from the current State.
- Fix bug: When the app starts, PanormaServer validation was happening in one background thread per configuration.  This would cause a warning "The state of the configuration list has changed...".  Configurations that failed Panorama server validation were not being displayed in red.
- Added DisableConfig and EnableConfig methods to AutoQcConfigManager.
…of VisualStudio warning about hiding an inherited member.
…imports to add or remove peptides...". Retrying will not work in this case.
…ted a second time.

- Bug fix - config checkbox remained checked after it was stopped due to annotations import error
- Uncommented code that was setting the status on a newly added config/config runner (replacing a config that was disabled) in case the config that was getting replaced had a status other than "Stopped".
- Changed required permissions from "admin" to "insert".
- Try to reimport annotations after retrying previously failed raw file imports.
- String.format with resource strings
…fore importing annotations or uploading to Panorama.

- If annotations import was unsuccessful, import them again in the ProcessOneFile() method, before uploading the document to Panorama.
- Set the LastArchivalDate only if the archive sky.zip will be created.
Copy link
Contributor

@brendanx67 brendanx67 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally the code looks okay to me. To get better coverage, you should walk me through how the changes impact the running program. I also wonder if there is some way that you could add new testing for the new annotations functionality. It doesn't look like any new testing was added, which would be required inside the Skyline project itself.

…ot enabled

- Fix bug introduced during cleanup - make a copy of the initial AutoQC config state before attempting to change it.
@vagisha
Copy link
Contributor Author

vagisha commented Sep 9, 2024

Functional tests will be added in a separate PR.

@vagisha vagisha merged commit ba32f7f into master Sep 9, 2024
10 checks passed
@vagisha vagisha deleted the Skyline/work/20240821_vsharma_autoqc-updates-all branch September 19, 2024 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants