aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-09-08 12:46:53 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-09-08 12:46:53 +0200
commit83ea6b424f1bd1e28b226f0a780385c1ad9d6208 (patch)
tree7d619049511552cd94c1e4d64dea4e67cd7580c1
parent27c73bb2684f0d5ccfc25610fa916e602d22ce75 (diff)
downloadrefcat-83ea6b424f1bd1e28b226f0a780385c1ad9d6208.tar.gz
refcat-83ea6b424f1bd1e28b226f0a780385c1ad9d6208.zip
tasks: use raw string
-rw-r--r--python/refcat/techreport.py4
1 files changed, 2 insertions, 2 deletions
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' |