-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure Analysis Metadata Fetching for Celery (#3461)
* cut down api requests by passing in result * import generate_auxiliary_file to circumvent potential import issue * remove reference to dsm.tasks * store a tool's response information in a django field for repeated use * re-format if statement * allow request to be forced through instead of loading from database * use ast.literal_eval for lists instead of json.loads * further cache response to invocation call and refactor other cache * reformat and delete unused imports * revert data_set_manager import hack * bump up the soft_time_limit * initial commit for restructuring galaxy requests * get dataset download list more directly from exposed_datasets * retrieve analysis download list from the AnalysisNodeConnection list * update download_list to use AnalysisNodeConnection outputs * remove cache fields on Tools model and re-use full galaxy dataset list * import OUTPUT_CONNECTION * remove force_request parameter * fix formatting on exposed_dataset_list paramter * fix formatting * add creating_job option to create output name to prevent repeat requests * revert use of rename s3 as separate task * remove RenameS3FileTask task * revert fabricrc.sample file changes * fix tool_manager mocking to match new behavior * fix formatting on test * resolve ilya's requests * update field names * update file extension in name * remove check on invocation being None * remove unneeded fields and fix tests * reinsert "galaxy_dataset_name" to AnalysisNodeConnection * remove unnecessary get_galaxy_dataset_download_list function and tests * handle galaxy error * update use of json.loads() and json.dumps() to be liter_eval with dict * change back to ast.literal_eval from json.loads
- Loading branch information
Showing
4 changed files
with
114 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
refinery/tool_manager/migrations/0030_auto_20191007_0941.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('tool_manager', '0029_parameter_uuid'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='workflowtool', | ||
name='invocation', | ||
field=models.TextField(blank=True), | ||
) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters