aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/refcat/tasks.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/python/refcat/tasks.py b/python/refcat/tasks.py
index ce89ace..8fdef31 100644
--- a/python/refcat/tasks.py
+++ b/python/refcat/tasks.py
@@ -1433,6 +1433,9 @@ class WikipediaDOI(Refcat):
class BrefZipWikiDOI(Refcat):
+ """
+ Generate biblioref for inbound wikipedia articles through exact matches.
+ """
def requires(self):
return {
"wiki": WikipediaDOI(),
@@ -1440,7 +1443,11 @@ class BrefZipWikiDOI(Refcat):
}
def run(self):
- raise NotImplementedError()
+ output = shellout("""
+ skate-reduce -m wiki -W {wiki} -L {fatcat} | zstd -T0 -c > {output}
+ """,
+ wiki=self.input().get("wiki").path,
+ fatcat=self.input().get("fatcat").path)
def output(self):
return luigi.LocalTarget(path=self.path(ext="json.zst"), format=Zstd)