Skip to content

Commit dd707e3

Browse files
committed
write the QA xml before generating the CNVs
because of how state is stored, having the cnv information present before doing some QA tests can make those QA tests more expensive to run.
1 parent ed0598e commit dd707e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/r2r_ctd/__main__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ def qa(gen_cnvs: bool, paths: tuple[Path, ...]):
7070
for station in breakout:
7171
station.r2r.write_con_report(breakout)
7272

73-
# write the cnv files
73+
write_xml_qa_report(breakout, ra.certificate)
74+
75+
# write the cnv files if asked
7476
if gen_cnvs:
7577
for station in breakout:
7678
station.r2r.write_cnv(breakout, "cnv_24hz")
7779
station.r2r.write_cnv(breakout, "cnv_1db")
7880

79-
write_xml_qa_report(breakout, ra.certificate)
80-
8181

8282
if __name__ == "__main__":
8383
cli()

0 commit comments

Comments
 (0)