Skip to content

[QC-421] Allow to check PP tasks results in CheckRunners#506

Merged
Barthelemy merged 2 commits into
AliceO2Group:masterfrom
knopers8:pp-checks
Oct 14, 2020
Merged

[QC-421] Allow to check PP tasks results in CheckRunners#506
Barthelemy merged 2 commits into
AliceO2Group:masterfrom
knopers8:pp-checks

Conversation

@knopers8
Copy link
Copy Markdown
Collaborator

@knopers8 knopers8 commented Oct 6, 2020

Done, but needs QC-420 merged first.

@knopers8 knopers8 changed the title [WIP] [QC-421] Allow to check PP tasks results in CheckRunners [QC-421] Allow to check PP tasks results in CheckRunners Oct 7, 2020
@knopers8 knopers8 requested a review from Barthelemy October 7, 2020 15:14
@knopers8
Copy link
Copy Markdown
Collaborator Author

@Barthelemy Could you have a look when you have some time?

Comment thread Framework/src/Check.cxx
(void)_key;
if (dataSource.get<std::string>("type") == "Task" || dataSource.get<std::string>("type") == "ExternalTask") {
if (auto sourceType = dataSource.get<std::string>("type");
sourceType == "Task" || sourceType == "ExternalTask" || sourceType == "PostProcessing") {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I see what you mean with "it is not very elegant all these OR conditions" however I am glad to know that we can declare a variable inside a if clause, this is new to me.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This is since c++17

@Barthelemy Barthelemy merged commit d8091df into AliceO2Group:master Oct 14, 2020
@knopers8 knopers8 deleted the pp-checks branch October 14, 2020 13:49
njacazio pushed a commit to njacazio/QualityControl that referenced this pull request Oct 19, 2020
…p#506)

* [QC-421] Allow to check PP tasks results in CheckRunners

* fix infrastructuregenerator test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants