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

Better error reporting for scisample #3

Open
daub1 opened this issue Feb 17, 2021 · 0 comments
Open

Better error reporting for scisample #3

daub1 opened this issue Feb 17, 2021 · 0 comments

Comments

@daub1
Copy link
Contributor

daub1 commented Feb 17, 2021

Summary
Make scisample error reporting more like study validation error reporting.
What is the current behavior?

2020-10-16 13:30:36 - ERROR - Sampler data is invalid
Traceback (most recent call last):
{ FIFTY-TWO lines of traceback }
codepy.scisample.utils.SamplingError: Sampler data is invalid

What is the desired behavior?

Reporting like that for study validation error reporting.

2020-10-16 13:30:53 - ERROR - Error in phase or flavor data for run-generate-baseline
2020-10-16 13:30:53 - ERROR - '01:00' does not match '^([0-9][0-9]-)?[0-9]{1,2}:[0-9][0-9]:[0-9][0-9]$'

Failed validating 'pattern' in schema['properties']['walltime']:
    {'pattern': '^([0-9][0-9]-)?[0-9]{1,2}:[0-9][0-9]:[0-9][0-9]$',
     'type': 'string'}

On instance['walltime']:
    '01:00'
2020-10-16 13:30:53 - ERROR - Study is missing data, cannot write a maestro specifiation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant