Skip to content

CoR sweep param schema missing darks/flats loader params #131

@yousefmoazzam

Description

@yousefmoazzam

Currently, this parameter schema is missing the darks/flats loader params:

"StandardTomoLoaderParams": {
"description": "Parameters dict for HTTomo's standard tomo loader",
"properties": {
"data_path": {
"anyOf": [
{
"type": "string"
},
{
"const": "auto",
"type": "string"
}
],
"title": "Data Path"
},
"image_key_path": {
"anyOf": [
{
"type": "string"
},
{
"const": "auto",
"type": "string"
}
],
"title": "Image Key Path"
},
"rotation_angles": {
"anyOf": [
{
"$ref": "#/$defs/RawAngles"
},
{
"$ref": "#/$defs/UserDefinedAngles"
},
{
"const": "auto",
"type": "string"
}
],
"title": "Rotation Angles"
},
"preview": {
"anyOf": [
{
"$ref": "#/$defs/PreviewParam"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"data_path",
"image_key_path",
"rotation_angles"
],
"title": "StandardTomoLoaderParams",
"type": "object"
},

This means that if the user of the schema (such as tomohub) provides these darks/flats values, validation of the JSON object will fail, effectively causing these httomo loader parameters to not be usable with this workflow template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions