From 7d07cf6732000481e7207d1fe2c86ad56c6b145d Mon Sep 17 00:00:00 2001 From: Dirk Roorda Date: Tue, 30 Nov 2021 17:20:42 +0100 Subject: [PATCH] ran the pipeline --- programs/utils.py | 6 ++++-- tf/2021/crossref.tf | 2 +- tf/2021/crossrefLCS.tf | 2 +- tf/2021/crossrefSET.tf | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/programs/utils.py b/programs/utils.py index 3c3943d..0d65517 100644 --- a/programs/utils.py +++ b/programs/utils.py @@ -122,6 +122,7 @@ def _duration(): def caption(level, heading, good=None, newLine=True, continuation=False): + channel = sys.stdout if good is None or good else sys.stderr prefix = "" if good is None else "SUCCES " if good else "FAILURE " duration = "" if continuation else "{:>11} ".format(_duration()) reportHeading = "{}{}{}".format(duration, prefix, heading) @@ -176,9 +177,10 @@ def caption(level, heading, good=None, newLine=True, continuation=False): "." * 90, ) if newLine: - print(formattedString) + channel.write(formattedString + "\n") else: - sys.stdout.write(formattedString) + channel.write(formattedString) + channel.flush() def mustRun(fileIn, fileOut, force=False): diff --git a/tf/2021/crossref.tf b/tf/2021/crossref.tf index b2df651..1885ad5 100644 --- a/tf/2021/crossref.tf +++ b/tf/2021/crossref.tf @@ -6,7 +6,7 @@ @source=Parallels Module @valueType=int @writtenBy=Text-Fabric -@dateWritten=2021-08-24T11:17:16Z +@dateWritten=2021-11-30T15:36:19Z 1414401 1414407 84 1414401 1414411 89 diff --git a/tf/2021/crossrefLCS.tf b/tf/2021/crossrefLCS.tf index ca29495..990f172 100644 --- a/tf/2021/crossrefLCS.tf +++ b/tf/2021/crossrefLCS.tf @@ -6,7 +6,7 @@ @source=Parallels Module @valueType=int @writtenBy=Text-Fabric -@dateWritten=2021-08-24T11:17:16Z +@dateWritten=2021-11-30T15:36:19Z 1414401 1414407 84 1414401 1414411 89 diff --git a/tf/2021/crossrefSET.tf b/tf/2021/crossrefSET.tf index e4a5c4f..bdbf6a3 100644 --- a/tf/2021/crossrefSET.tf +++ b/tf/2021/crossrefSET.tf @@ -6,7 +6,7 @@ @source=Parallels Module @valueType=int @writtenBy=Text-Fabric -@dateWritten=2021-08-24T11:17:16Z +@dateWritten=2021-11-30T15:36:19Z 1414505 1414623 80 1414510 1414513 77