aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-11 20:13:10 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-11 20:13:10 +0200
commit647300ccf3338143291c8ff3ae63a138aa1e56e1 (patch)
tree46effc13eb79ceba3bcbfd7feb3b9455edc5c757
parentda83d4584c8f131cb3ad80ed2928a9fd033af5f9 (diff)
downloadrefcat-647300ccf3338143291c8ff3ae63a138aa1e56e1.tar.gz
refcat-647300ccf3338143291c8ff3ae63a138aa1e56e1.zip
fix dependency
-rw-r--r--python/refcat/attic.py2
-rw-r--r--python/refcat/tasks.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/python/refcat/attic.py b/python/refcat/attic.py
index 9f26882..147380c 100644
--- a/python/refcat/attic.py
+++ b/python/refcat/attic.py
@@ -5,6 +5,7 @@
# dBP BB dBP dBP dBP dBP
# dBBBBBBB dBP dBP dBP dBBBBP
+
class URLList(Refcat):
"""
TSV URL extracted, 44368911.
@@ -960,7 +961,6 @@ class BiblioRefV2(Refcat):
# ==== V3 related
-
# ==== RG title match example
diff --git a/python/refcat/tasks.py b/python/refcat/tasks.py
index f21fade..868a755 100644
--- a/python/refcat/tasks.py
+++ b/python/refcat/tasks.py
@@ -295,12 +295,13 @@ class URLTabs(Refcat):
def output(self):
return luigi.LocalTarget(path=self.path(ext="tsv.zst"), format=Zstd)
+
class URLList(Refcat):
"""
List of cleaned URLs from refs.
"""
def requires(self):
- return URLList()
+ return URLTabs()
def run(self):
output = shellout("""
@@ -318,6 +319,7 @@ class URLList(Refcat):
def output(self):
return luigi.LocalTarget(path=self.path(ext="tsv.zst"), format=Zstd)
+
class RefsDOI(Refcat):
"""
Sorted (doi, doc) tuples from refs. 225m48.755s