-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Empty produces leading into list index out of range (#924)
When no produces is defined the location of the dataset couldn't be determined. Leading into list index out of range error. Using the dataset index to determine the dataset location.
- Loading branch information
Showing
7 changed files
with
88 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Example component 1 | ||
description: This is an example component | ||
image: example_component_1:latest | ||
|
||
consumes: | ||
images_data: | ||
type: binary | ||
|
||
produces: | ||
additionalProperties: true | ||
|
||
args: | ||
storage_args: | ||
description: Storage arguments | ||
type: str |
33 changes: 33 additions & 0 deletions
33
tests/core/examples/evolution_examples/7/output_manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"metadata": { | ||
"dataset_name": "test_dataset", | ||
"manifest_location": "gs://bucket/dataset", | ||
"run_id": "custom_run_id", | ||
"component_id": "example_component_1" | ||
}, | ||
"index": { | ||
"location": "gs://bucket/dataset/test_dataset/custom_run_id/example_component_1" | ||
}, | ||
"fields": { | ||
"images_width": { | ||
"type": "int32", | ||
"location": "gs://bucket/dataset/custom_run_id/example_component" | ||
}, | ||
"images_height": { | ||
"type": "int32", | ||
"location": "gs://bucket/dataset/custom_run_id/example_component" | ||
}, | ||
"images_data": { | ||
"location": "gs://bucket/dataset/custom_run_id/example_component", | ||
"type": "binary" | ||
}, | ||
"text_string": { | ||
"type": "string", | ||
"location": "gs://bucket/dataset/test_dataset/custom_run_id/example_component_1" | ||
}, | ||
"captions_data": { | ||
"type": "binary", | ||
"location": "gs://bucket/dataset/custom_run_id/example_component" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters