mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Copy collection columns wherever we construct new DCEs
This commit is contained in:
@@ -8162,6 +8162,7 @@ class DatasetCollectionElement(Base, Dictifiable, Serializable):
|
||||
collection=collection,
|
||||
element_index=self.element_index,
|
||||
element_identifier=self.element_identifier,
|
||||
columns=self.columns,
|
||||
)
|
||||
return new_element
|
||||
|
||||
|
||||
@@ -372,6 +372,7 @@ def _materialize_collection_element(
|
||||
element=materialized_object,
|
||||
element_index=element.element_index,
|
||||
element_identifier=element.element_identifier,
|
||||
columns=element.columns,
|
||||
)
|
||||
return materialized_element
|
||||
|
||||
|
||||
@@ -105,6 +105,7 @@ def derefence_collection_element(
|
||||
element=child_dataset_collection,
|
||||
element_identifier=element.identifier,
|
||||
element_index=element_index,
|
||||
columns=element.columns,
|
||||
)
|
||||
sa_session.add(child_dataset_collection)
|
||||
for index, child_element in enumerate(element.elements):
|
||||
@@ -135,6 +136,7 @@ def dereference_collection_dataset_element(
|
||||
element=hda,
|
||||
element_identifier=element.identifier,
|
||||
element_index=element_index,
|
||||
columns=element.columns,
|
||||
)
|
||||
parent_dataset_collection.elements.append(dce)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user