diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/refcat/techreport.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/python/refcat/techreport.py b/python/refcat/techreport.py index 064e357..e23e151 100644 --- a/python/refcat/techreport.py +++ b/python/refcat/techreport.py @@ -1,8 +1,7 @@ - """ Tasks for techreport. """ - +import luigi from refcat.tasks import Refcat, OpenCitations from refcat.base import shellout, Zstd @@ -11,7 +10,6 @@ class COCIDOIOnly(Refcat): """ Extract DOI-DOI pair, order dois lexicographically. """ - def requires(self): return OpenCitations() @@ -23,7 +21,8 @@ class COCIDOIOnly(Refcat): cut -d , -f2,3 | perl -F, -lane 'printf qq[%s\n], join ",", sort @F' | zstd -c -T0 > {output} - """, input=self.input().path) + """, + input=self.input().path) luigi.LocalTarget(output).move(self.output().path) def output(self): |