Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analyte type #2434

Merged
merged 37 commits into from
Dec 12, 2024
Merged

Analyte type #2434

merged 37 commits into from
Dec 12, 2024

Conversation

nbollis
Copy link
Member

@nbollis nbollis commented Nov 5, 2024

Introduced a new AnalyteType class to standardize analyte type handling and updated related classes and methods to use this new structure.

  • EngineLayer/AnalyteType: Added new class to represent analyte types and their properties.
  • GlobalVariables: Updated to use AnalyteType instead of strings and modified initialization method.
  • PostSearchAnalysisTask: Adjusted status messages and file naming conventions to use AnalyteType properties.
  • MetaMorpheusTask: Set AnalyteType based on protease name using the new method.
  • Updated test assertions to check AnalyteType objects instead of strings.

Modified ResultsDictionary keys to use plural forms of analyte type labels by appending 's'. Updated status message for writing unique form results to use lowercase version of UniqueFormLabel.
Copy link

codecov bot commented Nov 7, 2024

Codecov Report

Attention: Patch coverage is 98.18182% with 1 line in your changes missing coverage. Please review.

Project coverage is 93.82%. Comparing base (b82cfaf) to head (3f499cf).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...eus/TaskLayer/SearchTask/PostSearchAnalysisTask.cs 97.29% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2434   +/-   ##
=======================================
  Coverage   93.81%   93.82%           
=======================================
  Files         141      142    +1     
  Lines       21993    22008   +15     
  Branches     3014     3014           
=======================================
+ Hits        20633    20648   +15     
  Misses        910      910           
  Partials      450      450           
Files with missing lines Coverage Δ
MetaMorpheus/EngineLayer/AnalyteType.cs 100.00% <100.00%> (ø)
MetaMorpheus/EngineLayer/GlobalVariables.cs 84.83% <100.00%> (ø)
MetaMorpheus/TaskLayer/MetaMorpheusTask.cs 89.13% <100.00%> (ø)
...eus/TaskLayer/SearchTask/PostSearchAnalysisTask.cs 93.97% <97.29%> (ø)

Nic Bollis and others added 3 commits November 7, 2024 13:20
Modified ResultsDictionary keys to use plural forms of analyte type labels by appending 's'. Updated status message for writing unique form results to use lowercase version of UniqueFormLabel.
@nbollis nbollis marked this pull request as ready for review November 7, 2024 19:20
MetaMorpheus/EngineLayer/AnalyteType.cs Outdated Show resolved Hide resolved
MetaMorpheus/EngineLayer/AnalyteType.cs Outdated Show resolved Hide resolved
trishorts
trishorts previously approved these changes Nov 14, 2024
@trishorts trishorts merged commit a06bc0d into smith-chem-wisc:master Dec 12, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants