Skip to content

Commit

Permalink
remove true mf prevalence from outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattg3004 committed Dec 6, 2024
1 parent 827187a commit 71f0258
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Scenario.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ void Scenario::writeRoadmapTarget(Population &popln, int t, int rep, int DoMDA,
float ICprevSample = popln.getICPrevForOutput(sample);

sample = false;
float mfprevTrue = popln.getMFPrevByAge(5, maxAge, sample);

float ICprevTrue = popln.getICPrevForOutput(sample);

int roadmapTargetMet = mfprevSample <= 0.01 ? 1 : 0;
Expand All @@ -677,9 +677,6 @@ void Scenario::writeRoadmapTarget(Population &popln, int t, int rep, int DoMDA,
outfile << name << "," << year << "," << 5 << "," << maxAge << ","
<< "sampled mf prevalence (all pop)"
<< "," << mfprevSample << "\n";
outfile << name << "," << year << "," << 5 << "," << maxAge << ","
<< "true mf prevalence (all pop)"
<< "," << mfprevTrue << "\n";
outfile << name << "," << year << "," << 6 << "," << 7 << ","
<< "sampled IC prevalence (all pop)"
<< "," << ICprevSample << "\n";
Expand All @@ -705,7 +702,6 @@ void Scenario::writeRoadmapTarget(Population &popln, int t, int rep, int DoMDA,
<< "," << achieveEPHP << "\n";
} else {
outfile << mfprevSample << "\n";
outfile << mfprevTrue << "\n";
outfile << ICprevSample << "\n";
outfile << ICprevTrue << "\n";
outfile << roadmapTargetMet << "\n";
Expand Down

0 comments on commit 71f0258

Please sign in to comment.