Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove name for shared_task so that it uses edge.tasks.xxx as name #23

Merged
merged 1 commit into from
Feb 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/edge/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from django.db import transaction


@shared_task(name='build_genome_blastdb')
@shared_task
def build_genome_blastdb(genome_id):
genome = Genome.objects.get(pk=genome_id)
build_genome_db(genome, refresh=True)
Expand All @@ -18,7 +18,7 @@ def annotate_integration_on_genome(genome, new_genome,
annotate_integration(genome, new_genome, regions_before, regions_after, cassette_name, op)


@shared_task(name="annotate_integration")
@shared_task
def annotate_integration_task(genome_id, new_genome_id,
regions_before, regions_after,
cassette_name, op_id):
Expand Down