Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[defect] Set default value to be Null for the json parameters (darkFileName, sensitivityFileName, maskFileName) in the schema. #33

Open
glass-ships opened this issue Dec 17, 2024 · 1 comment

Comments

@glass-ships
Copy link
Member

Problem Description:

If default values are given in the schema, Null cannot be taken as an input. As a result, one cannot set Null for darkFileName, sensitivityFileName, maskFileName in the current version.
When user use Null or '' in either darkFileName, sensitivityFileName, maskFileName then the program will fall back to the default value in schema.

Steps to Reproduce:

darkFileName = “” (or Null so that we don’t want to process darkCurrent) will lead to the use of the default darkcurrent file defined in the Schema, instead of ‘no-darkcurrent correction’

image

The users should be able to apply empty darkFileName, sensitivityFileName, or maskFileName in reduction

Investigation/Analysis Results:

@glass-ships
Copy link
Member Author

This issue was migrated from code.ornl.gov.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant