Skip to content

Commit

Permalink
Address CR
Browse files Browse the repository at this point in the history
  • Loading branch information
ihodes committed Dec 17, 2015
1 parent d6978f1 commit cd6c712
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions cycledash/api/bams.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ def get(self):
@validate_with(CreateBam)
@marshal_with(BamFields)
def post(self):
"""Create a new BAM.
This will index the BAM index if it's not already indexed."""
"""Create a new BAM."""
try:
expect_one_of(request.validated_body, 'project_name', 'project_id')
except voluptuous.MultipleInvalid as e:
Expand All @@ -81,7 +79,6 @@ def post(self):
result = bams.insert(
request.validated_body).returning(*bams.c).execute()
bam = dict(result.fetchone())
workers.indexer.index.delay(bam['id'])
return bam, 201


Expand Down
2 changes: 1 addition & 1 deletion cycledash/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h4>Required</h4>
<dl class="dl-horizontal">
<dt>uri</dt>
<dd>
The URL where the VCF can be found.
The URL where the VCF was uploaded to (returned by the /upload endpoint).
(e.g. <tt>/users/cycledasher/pt-123.vcf</tt>)
This should be immutable, as Cycledash expects
to be able to find the VCF here at any time.
Expand Down

0 comments on commit cd6c712

Please sign in to comment.