Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 21, 2024
1 parent c25314f commit 52b2d82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion source/framework/sensitivity/src/TRestExperiment.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ void TRestExperiment::InitFromConfigFile() {
if (fExposureTime > 0 && fDataFile.empty()) {
GenerateMockDataSet();
} else if (fExposureTime == 0 && !fDataFile.empty()) {

SetExperimentalDataSetFile(fDataFile);

} else {
Expand Down
6 changes: 4 additions & 2 deletions source/framework/sensitivity/src/TRestExperimentList.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ void TRestExperimentList::InitFromConfigFile() {

if (nExpectedColumns == 0) {
RESTError << "TRestExperimentList::InitFromConfigFile. At least one free parameter required! "
"(Exposure/Background/Signal)" << RESTendl;
"(Exposure/Background/Signal)"
<< RESTendl;
return;
}

Expand All @@ -134,7 +135,8 @@ void TRestExperimentList::InitFromConfigFile() {
}

RESTError << "TRestExperimentList::InitFromConfigFile. Number of expected columns does not match "
"the number of table columns" << RESTendl;
"the number of table columns"
<< RESTendl;
RESTError << "Number of table columns : " << nTableColumns << RESTendl;
RESTError << "Number of expected columns : " << nExpectedColumns << RESTendl;
RESTError << "Expected columns : " << expectedColumns << RESTendl;
Expand Down

0 comments on commit 52b2d82

Please sign in to comment.