From 70d6297e064a06a4df0a6bb2ebc4b6029283efb8 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 8 Sep 2021 12:25:10 +0200 Subject: tasks: add missing import --- python/refcat/techreport.py | 7 +++---- 1 file 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): -- cgit v1.2.3