Skip to content

Commit

Permalink
Remove Unrelated Files (Again)
Browse files Browse the repository at this point in the history
  • Loading branch information
tizzir committed Mar 14, 2018
1 parent 729714f commit 1319aa7
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 247 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,3 @@ doc/source/dev/schema.rst
*.rej
*~
.idea
*.bak
14 changes: 0 additions & 14 deletions config/workflow_resource_mapper_conf.yml.sample

This file was deleted.

13 changes: 0 additions & 13 deletions config/workflow_resource_params_conf.xml.sample

This file was deleted.

5 changes: 0 additions & 5 deletions lib/galaxy/jobs/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,6 @@ def __invoke_expand_function(self, expand_function, destination_params):
workflow_invocation_uuid = param_values.get("__workflow_invocation_uuid__", None)
actual_args["workflow_invocation_uuid"] = workflow_invocation_uuid

if "workflow_resource_params" in function_arg_names:
param_values = job.raw_param_dict()
workflow_resource_params = param_values.get("__workflow_resource_params__", None)
actual_args["workflow_resource_params"] = workflow_resource_params

return expand_function(**actual_args)

def __job_params(self, job):
Expand Down
16 changes: 0 additions & 16 deletions lib/galaxy/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,22 +817,6 @@ def xml_text(root, name=None):
return ''


def parse_resource_parameters(resource_param_file):
"""Code shared between jobs and workflows for reading resource parameter configuration files.
TODO: Allow YAML in addition to XML.
"""
resource_parameters = {}
if os.path.exists(resource_param_file):
resource_definitions = parse_xml(resource_param_file)
resource_definitions_root = resource_definitions.getroot()
for parameter_elem in resource_definitions_root.findall("param"):
name = parameter_elem.get("name")
resource_parameters[name] = parameter_elem

return resource_parameters


# asbool implementation pulled from PasteDeploy
truthy = frozenset(['true', 'yes', 'on', 'y', 't', '1'])
falsy = frozenset(['false', 'no', 'off', 'n', 'f', '0'])
Expand Down
176 changes: 0 additions & 176 deletions lib/galaxy/workflow/resources/__init__.py

This file was deleted.

22 changes: 0 additions & 22 deletions lib/galaxy/workflow/resources/example.py.sample

This file was deleted.

0 comments on commit 1319aa7

Please sign in to comment.