Skip to content

Commit

Permalink
Delete element from TestOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Dec 5, 2023
1 parent ee67447 commit f87c384
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 22 deletions.
1 change: 0 additions & 1 deletion lib/galaxy/tool_util/schemas/generated/galaxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4998,7 +4998,6 @@ class TestOutput(BaseSetting):
content assertion should be preferred, because this avoids storing the test file.
"""

element: List["TestOutput"] = field(default_factory=list, metadata={"type": "Element"})
discovered_dataset: List["TestDiscoveredDataset"] = field(default_factory=list, metadata={"type": "Element"})
assert_contents: Union[List[TestAssertions], TestAssertions] = field(
default_factory=list,
Expand Down
1 change: 1 addition & 0 deletions lib/galaxy/tool_util/schemas/postprocess_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
]
ATTRIBUTES_TO_DELETE = [
"TestOutputCollection.name",
"TestOutput.element",
]

MODIFICATION_BY_MODULE: dict[str, dict[str, str]] = defaultdict(dict)
Expand Down
21 changes: 0 additions & 21 deletions lib/galaxy/tool_util/schemas/test_file_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1802,13 +1802,6 @@
"TestDiscoveredDataset": {
"additionalProperties": false,
"properties": {
"element_tests": {
"items": {
"$ref": "#/$defs/TestOutput"
},
"title": "Element Tests",
"type": "array"
},
"discovered_dataset": {
"items": {
"$ref": "#/$defs/TestDiscoveredDataset"
Expand Down Expand Up @@ -2057,13 +2050,6 @@
"TestExtraFile": {
"additionalProperties": false,
"properties": {
"element_tests": {
"items": {
"$ref": "#/$defs/TestOutput"
},
"title": "Element Tests",
"type": "array"
},
"discovered_dataset": {
"items": {
"$ref": "#/$defs/TestDiscoveredDataset"
Expand Down Expand Up @@ -2312,13 +2298,6 @@
"TestOutput": {
"additionalProperties": false,
"properties": {
"element_tests": {
"items": {
"$ref": "#/$defs/TestOutput"
},
"title": "Element Tests",
"type": "array"
},
"discovered_dataset": {
"items": {
"$ref": "#/$defs/TestDiscoveredDataset"
Expand Down

0 comments on commit f87c384

Please sign in to comment.