From 83ea6b424f1bd1e28b226f0a780385c1ad9d6208 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 8 Sep 2021 12:46:53 +0200 Subject: tasks: use raw string --- python/refcat/techreport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/refcat/techreport.py b/python/refcat/techreport.py index db99337..48c1084 100644 --- a/python/refcat/techreport.py +++ b/python/refcat/techreport.py @@ -15,7 +15,7 @@ class COCIDOIOnly(Refcat): def run(self): """ https://unix.stackexchange.com/a/37470/376 """ - output = shellout(""" + output = shellout(r""" zstdcat -T0 {input} | tail -n +2 | cut -d , -f2,3 | @@ -37,7 +37,7 @@ class BrefDOIOnly(Refcat): return BrefWithDOI() def run(self): - output = shellout(""" + output = shellout(r""" zstdcat -T0 {input} | parallel --pipe -j 16 --block 10M "jq -rc '[.source_doi, .target_doi] | @csv'" | perl -F, -lane 'printf qq[%s\n], join ",", sort @F' | -- cgit v1.2.3