Skip to content

Commit 0226f3c

Browse files
committed
Move metadata mixin to DownloadGeoSampleMetadata
1 parent 85ca58f commit 0226f3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rnaseq_pipeline/sources/geo.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def match_geo_platform(geo_platform):
5858

5959
raise NotImplementedError(f'Unsupported GEO platform: {geo_platform_title} ({geo_platform}).')
6060

61-
class DownloadGeoSampleMetadata(RerunnableTaskMixin, luigi.Task):
61+
class DownloadGeoSampleMetadata(TaskWithMetadataMixin, RerunnableTaskMixin, luigi.Task):
6262
"""
6363
Download the MiNiML metadata for a given GEO Sample.
6464
"""
@@ -80,7 +80,7 @@ def output(self):
8080
return ExpirableLocalTarget(join(cfg.OUTPUT_DIR, cfg.METADATA, 'geo', '{}.xml'.format(self.gsm)), ttl=timedelta(days=14))
8181

8282
@requires(DownloadGeoSampleMetadata)
83-
class DownloadGeoSample(TaskWithMetadataMixin, DynamicTaskWithOutputMixin, DynamicWrapperTask):
83+
class DownloadGeoSample(DynamicTaskWithOutputMixin, DynamicWrapperTask):
8484
"""
8585
Download a GEO Sample given a runinfo file and
8686
"""

0 commit comments

Comments
 (0)