Skip to content

Commit

Permalink
Move metadata mixin to DownloadGeoSampleMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Mar 7, 2024
1 parent 85ca58f commit 0226f3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rnaseq_pipeline/sources/geo.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def match_geo_platform(geo_platform):

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

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

@requires(DownloadGeoSampleMetadata)
class DownloadGeoSample(TaskWithMetadataMixin, DynamicTaskWithOutputMixin, DynamicWrapperTask):
class DownloadGeoSample(DynamicTaskWithOutputMixin, DynamicWrapperTask):
"""
Download a GEO Sample given a runinfo file and
"""
Expand Down

0 comments on commit 0226f3c

Please sign in to comment.