mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Relax requirement for DCEs of collections that are not populated
This commit is contained in:
@@ -7146,7 +7146,8 @@ class DatasetCollectionElement(Base, Dictifiable, Serializable):
|
||||
self.element_identifier = element_identifier or str(element_index)
|
||||
|
||||
def __strict_check_before_flush__(self):
|
||||
assert self.element_object, "Dataset Collection Element without child entity detected, this is not valid"
|
||||
if self.collection.populated_optimized:
|
||||
assert self.element_object, "Dataset Collection Element without child entity detected, this is not valid"
|
||||
|
||||
@property
|
||||
def element_type(self):
|
||||
|
||||
Reference in New Issue
Block a user