Merge pull request #489 from OpenWaterAnalytics/lrossman-dev
Minor format change to status report
This commit is contained in:
@@ -1142,6 +1142,7 @@ int writehydwarn(Project *pr, int iter, double relerr)
|
|||||||
{
|
{
|
||||||
disconnected(pr);
|
disconnected(pr);
|
||||||
pr->Warnflag = flag;
|
pr->Warnflag = flag;
|
||||||
|
if (rpt->Messageflag) writeline(pr, " ");
|
||||||
}
|
}
|
||||||
return flag;
|
return flag;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ def epanet_report_compare(path_test, path_ref, rtol, atol):
|
|||||||
'''
|
'''
|
||||||
HEADER = 10
|
HEADER = 10
|
||||||
FOOTER = 2
|
FOOTER = 2
|
||||||
|
|
||||||
with open(path_test ,'r') as ftest, open(path_ref, 'r') as fref:
|
with open(path_test ,'r') as ftest, open(path_ref, 'r') as fref:
|
||||||
|
|
||||||
for (test_line, ref_line) in it.izip(hdf.parse(ftest, HEADER, FOOTER)[1],
|
for (test_line, ref_line) in it.izip(hdf.parse(ftest, HEADER, FOOTER)[1],
|
||||||
|
|||||||
Reference in New Issue
Block a user