Skip to content

Commit

Permalink
crossref: change filename extension to reflect hard-coded paths
Browse files Browse the repository at this point in the history
  • Loading branch information
miku committed Nov 7, 2016
1 parent 12e1ae0 commit 79df8dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions siskin/sources/crossref.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def run(self):
luigi.File(output).move(self.output().path)

def output(self):
return luigi.LocalTarget(path=self.path(ext='tsv.gz'))
return luigi.LocalTarget(path=self.path(ext='filelist.gz'))

class CrossrefLineDOIWrapper(CrossrefTask):
"""
Expand Down Expand Up @@ -257,7 +257,7 @@ def run(self):
luigi.File(stopover).move(self.output().path)

def output(self):
return luigi.LocalTarget(path=self.path(ext='tsv.gz'))
return luigi.LocalTarget(path=self.path(ext='filelist.gz'))

class CrossrefDOITable(CrossrefTask):
"""
Expand All @@ -280,7 +280,7 @@ def run(self):
luigi.File(output).move(self.output().path)

def output(self):
return luigi.LocalTarget(path=self.path(ext='tsv.gz'), format=Gzip)
return luigi.LocalTarget(path=self.path(ext='filelist.gz'), format=Gzip)

class CrossrefDOITableClean(CrossrefTask):
"""
Expand Down Expand Up @@ -325,7 +325,7 @@ def run(self):
output.write(line + "\n")

def output(self):
return luigi.LocalTarget(path=self.path(ext='tsv.gz'), format=Gzip)
return luigi.LocalTarget(path=self.path(ext='filelist.gz'), format=Gzip)

class CrossrefSortedDOITable(CrossrefTask):
"""
Expand Down

0 comments on commit 79df8dc

Please sign in to comment.