aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-07-09 20:49:46 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-07-09 20:49:46 +0200
commit0406b312fc27582f4cc54b2005330e4929b73b90 (patch)
treec1c923391781e61fc47344ae0f9dd489c250eca3
parent6e9dd3adb384dd86fce1627b3fc2f0ac80c36003 (diff)
downloadrefcat-0406b312fc27582f4cc54b2005330e4929b73b90.tar.gz
refcat-0406b312fc27582f4cc54b2005330e4929b73b90.zip
tasks: wiki, sort by doi in first column
-rw-r--r--python/refcat/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/refcat/tasks.py b/python/refcat/tasks.py
index 8fdef31..65184c4 100644
--- a/python/refcat/tasks.py
+++ b/python/refcat/tasks.py
@@ -1421,7 +1421,7 @@ class WikipediaDOI(Refcat):
def run(self):
output = shellout("""
skate-wikipedia-doi < {input} |
- LC_ALL=C sort -T {tmpdir} -S 20% -k2,2 |
+ LC_ALL=C sort -T {tmpdir} -S 20% -k1,1 |
zstd -T0 -c > {output}
""",
tmpdir=self.tmpdir,