diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-09-08 12:52:45 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-09-08 12:52:45 +0200 |
commit | d27f1f908b96d6f8ddd547dfafac16e19c987f4e (patch) | |
tree | 21fd53b69e53b52ad981fc762d29512e892cd6c9 | |
parent | aada9aab955ff5dabb7461795218e0b345bb58d8 (diff) | |
download | refcat-d27f1f908b96d6f8ddd547dfafac16e19c987f4e.tar.gz refcat-d27f1f908b96d6f8ddd547dfafac16e19c987f4e.zip |
tasks: adjust separator
-rw-r--r-- | python/refcat/techreport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/refcat/techreport.py b/python/refcat/techreport.py index beb0500..cc35b7a 100644 --- a/python/refcat/techreport.py +++ b/python/refcat/techreport.py @@ -40,7 +40,7 @@ class BrefDOIOnly(Refcat): output = shellout(r""" zstdcat -T0 {input} | parallel --pipe -j 16 --block 10M "jq -rc '[.source_doi, .target_doi] | @tsv'" | - tr ' ' ',' | + tr $'\t' ',' | perl -F, -lane 'printf qq[%s\n], join ",", sort @F' | zstd -c -T0 > {output} """, |