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

config class #28

Open
5 tasks done
Tracked by #26
chrisdicaprio opened this issue Mar 21, 2024 · 0 comments
Open
5 tasks done
Tracked by #26

config class #28

chrisdicaprio opened this issue Mar 21, 2024 · 0 comments

Comments

@chrisdicaprio
Copy link
Collaborator

chrisdicaprio commented Mar 21, 2024

we need a configuration class to handle the user inputs

check:

  • any files exist
  • exclusive entries are not combined
  • essential entries are present
  • types are correct
  • anything that is enumed or has restricted values meets the criteria

Required:

  • vs30 OR vs30 in the site file
  • SRM and GMCM lts or model version
  • IMTs
  • aggs (restrict to "mean", "std", "cov" or a string that can be cast to float)
  • compatability key (check that it exists)
  • locations (files or strings or common identifiers) get_locations() will catch this
@chrisdicaprio chrisdicaprio mentioned this issue Mar 21, 2024
11 tasks
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