mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
@@ -1017,6 +1017,9 @@ class JobParameter(object):
|
||||
self.name = name
|
||||
self.value = value
|
||||
|
||||
def copy(self):
|
||||
return JobParameter(name=self.name, value=self.value)
|
||||
|
||||
|
||||
class JobToInputDatasetAssociation(object):
|
||||
def __init__(self, name, dataset):
|
||||
|
||||
@@ -531,6 +531,9 @@ class DefaultToolAction(object):
|
||||
# Duplicate PJAs before remap.
|
||||
for pjaa in old_job.post_job_actions:
|
||||
current_job.add_post_job_action(pjaa.post_job_action)
|
||||
for p in old_job.parameters:
|
||||
if p.name.endswith('|__identifier__'):
|
||||
current_job.parameters.append(p.copy())
|
||||
remapped_hdas = {}
|
||||
input_hdcas = set()
|
||||
for jtod in old_job.output_datasets:
|
||||
|
||||
@@ -773,6 +773,8 @@ test_data:
|
||||
assert_ok=True)
|
||||
unpaused_dataset = self.dataset_populator.get_history_dataset_details(history_id, wait=True, assert_ok=False)
|
||||
assert unpaused_dataset['state'] == 'ok'
|
||||
contents = self.dataset_populator.get_history_dataset_content(history_id, hid=7, assert_ok=False)
|
||||
assert contents == 'fail\nsuccess\n', contents
|
||||
|
||||
@skip_without_tool("collection_creates_pair")
|
||||
def test_workflow_run_output_collection_mapping(self):
|
||||
|
||||
Reference in New Issue
Block a user