Skip to content

[FEATURE][REFACTOR] MRMFeatureQC: Additional QC criteria for component groups - #3284

Merged
hroest merged 11 commits into
OpenMS:developfrom
biosustain:feature/MRMFeatureQC_add_filter_criteria_cg
Mar 15, 2018
Merged

hroest merged 11 commits into
OpenMS:developfrom
biosustain:feature/MRMFeatureQC_add_filter_criteria_cg

Conversation

@pcolaianni

Copy link
Copy Markdown
Contributor

The following QC criteria have been added to MRMFeatureQC::ComponentGroupQCs:

double retention_time_l;
double retention_time_u;
double intensity_l;
double intensity_u;
double overall_quality_l;
double overall_quality_u;
std::map<String,std::pair<double,double>> meta_value_qc;

The change is accompanied by an update of MRMFeatureQCFile to support said addition.
Two files are now expected when loading components and components groups QC criteria (the behavior is controlled through the flag is_component_group of load()).

@pcolaianni

pcolaianni commented Mar 6, 2018 •

Copy link
Copy Markdown
Contributor Author

travis timed out

@param[in] is_component_group true if the user intends to load ComponentGroupQCs data, false otherwise
*/
void load(const String & filename, MRMFeatureQC & mrmfqc);
void load(const String& filename, MRMFeatureQC& mrmfqc, const bool is_component_group) const;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think you need to adjust the .pxd file as well here

/// overall quality lower bound
double overall_quality_l;
/// overall quality upper bound
double overall_quality_u;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

probably you want to add those as well to the pxd file to expose them to Python

std::vector<ComponentGroupQCs> component_group_qcs;
/// list of all component group pair QCs
std::vector<ComponentGroupQCs> component_group_pair_qcs;
std::vector<ComponentGroupPairQCs> component_group_pair_qcs;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

also change this in PyOpenMS

@hroest

hroest commented Mar 8, 2018

Copy link
Copy Markdown
Contributor

@pcolaianni

Copy link
Copy Markdown
Contributor Author

@hroest Thanks! Files updated. Let's see what the tests will say 😄

@hroest

hroest commented Mar 10, 2018

Copy link
Copy Markdown
Contributor

ok I restarted the tests

@pcolaianni

Copy link
Copy Markdown
Contributor Author

Another timeout, unfortunately

@pcolaianni

Copy link
Copy Markdown
Contributor Author

@hroest PR is up to date 😄

@hroest
hroest merged commit 385053d into OpenMS:develop Mar 15, 2018
@pcolaianni
pcolaianni deleted the feature/MRMFeatureQC_add_filter_criteria_cg branch March 16, 2018 10:10
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