Skip to content

Fixed Bug Where EAD Annotation Did Not Run in Initial Analysis of EAD Lipidomics Project#617

Merged
Bujee415 merged 1 commit intomasterfrom
bugfix/ead-annotator-not-available
Aug 26, 2025
Merged

Fixed Bug Where EAD Annotation Did Not Run in Initial Analysis of EAD Lipidomics Project#617
Bujee415 merged 1 commit intomasterfrom
bugfix/ead-annotator-not-available

Conversation

@YukiMatsuzawa
Copy link
Copy Markdown
Contributor

This pull request fixes a bug specific to EAD lipidomics projects where the EAD annotation process failed to execute during the initial analysis.

  • Ensures that the annotation logic is correctly triggered for EAD-specific workflows during the first run.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request fixes a bug in EAD lipidomics projects where the EAD annotation process failed to execute during initial analysis by standardizing the DataBaseMapper initialization pattern across all analysis workflows.

  • Replaces the CreateDataBaseMapper() method calls with explicit DataBaseMapper instantiation and assignment
  • Ensures consistent mapper initialization by creating the mapper instance before setting it on the database storage
  • Removes the CreateDataBaseMapper() method from DataBaseStorage class to prevent inconsistent usage patterns

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
MaldiMsProcessTest.cs Updates test methods to use explicit DataBaseMapper instantiation and parameter passing
LcmsProcess.cs Standardizes DataBaseMapper initialization pattern in LCMS workflow
LcimmsProcess.cs Standardizes DataBaseMapper initialization pattern in LC-IMMS workflow
ImmsProcess.cs Standardizes DataBaseMapper initialization pattern in IMMS workflow
GcmsProcess.cs Standardizes DataBaseMapper initialization pattern in GCMS workflow
DimsProcess.cs Standardizes DataBaseMapper initialization pattern in DIMS workflow
MethodSettingModel.cs Updates GUI model to use SetDataBaseMapper instead of CreateDataBaseMapper
GcmsAlignmentProcessFactory.cs Uses container's DataBaseMapper instead of creating new one
DataBaseStorage.cs Removes the CreateDataBaseMapper method to enforce consistent initialization

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Bujee415 Bujee415 merged commit 4ef4eaf into master Aug 26, 2025
5 checks passed
@Bujee415 Bujee415 deleted the bugfix/ead-annotator-not-available branch August 26, 2025 05:31
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.

3 participants