-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* first pass to allow for output_schema as a true JSON schema #85 * remove unused import * simplify logic, extend _safe_pop_one_mapping to handles multiple keys * disambiguation key vs keys in parsed schema * make samples and project objects instead of arrays, add more test assertions, clean up docstrings. * add status data to string representation of ParsedSchema
- Loading branch information
1 parent
239d110
commit 5588510
Showing
4 changed files
with
123 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
title: An example Pipestat output schema | ||
description: A pipeline that uses pipestat to report sample and project level results. | ||
type: object | ||
properties: | ||
pipeline_name: "default_pipeline_name" | ||
samples: | ||
type: object | ||
properties: | ||
number_of_things: | ||
type: integer | ||
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit." | ||
smooth_bw: | ||
type: string | ||
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce nec cursus nulla." | ||
path: "aligned_{genome}/{sample_name}_smooth.bw" | ||
collection_of_images: | ||
type: array | ||
description: A collection of images. | ||
items: | ||
type: object | ||
properties: | ||
prop1: | ||
type: file | ||
description: An example file. | ||
output_file_in_object: | ||
type: object | ||
description: An object containing output files. | ||
properties: | ||
example_property_1: | ||
type: file | ||
description: An example file. | ||
example_property_2: | ||
type: image | ||
description: An example image. | ||
project: | ||
type: object | ||
properties: | ||
project_output_file: | ||
type: file | ||
description: The path to the output file. | ||
protocol: | ||
type: string | ||
description: example protocol description |
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