aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/refcat/techreport.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/refcat/techreport.py b/python/refcat/techreport.py
index 48c1084..beb0500 100644
--- a/python/refcat/techreport.py
+++ b/python/refcat/techreport.py
@@ -39,7 +39,8 @@ class BrefDOIOnly(Refcat):
def run(self):
output = shellout(r"""
zstdcat -T0 {input} |
- parallel --pipe -j 16 --block 10M "jq -rc '[.source_doi, .target_doi] | @csv'" |
+ parallel --pipe -j 16 --block 10M "jq -rc '[.source_doi, .target_doi] | @tsv'" |
+ tr ' ' ',' |
perl -F, -lane 'printf qq[%s\n], join ",", sort @F' |
zstd -c -T0 > {output}
""",