Skip to content

Commit

Permalink
Better ordering of SOWH report items
Browse files Browse the repository at this point in the history
  • Loading branch information
DMaddison committed Sep 12, 2017
1 parent 49b00bc commit b9cd786
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/mesquite/zephyr/SOWHTest/SOWHTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -562,9 +562,9 @@ public void appendToReportFile(String s) {
public String getListHeading(boolean extraValuesForFile) {
String s= "\nrep\tdelta\tp-value";
if (extraValuesForFile){
s+="\tfraction-negative";
s+="\tlower-bound-p-value";
s+="\tupper-bound-p-value";
s+="\tfraction-negative";
}
s+="\n-------------------------------";
return s;
Expand Down Expand Up @@ -714,7 +714,7 @@ public void doSOWHTest() {
panelText.append("\nFraction of delta values <0: "+ fractionNegative.toString(4)+"\n");
panel.setText(panelText.toString()+ getListHeading(false) + repReport.toString());
if (lower.isCombinable() && upper.isCombinable())
appendToReportFile(getReplicateLine(rep, simulatedDelta, pValue)+"\t"+lower.toString(4)+"\t"+upper.toString(4)+"\t"+fractionNegative.toString(4));
appendToReportFile(getReplicateLine(rep, simulatedDelta, pValue)+"\t"+fractionNegative.toString(4)+"\t"+lower.toString(4)+"\t"+upper.toString(4));
else
appendToReportFile(getReplicateLine(rep, simulatedDelta, pValue)+"\t"+fractionNegative.toString(4));
panel.setPValue(pValue);
Expand Down

0 comments on commit b9cd786

Please sign in to comment.