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

Validate that all jsons/needed keywords configs do exist. #54

Open
github-actions bot opened this issue Nov 19, 2022 · 0 comments
Open

Validate that all jsons/needed keywords configs do exist. #54

github-actions bot opened this issue Nov 19, 2022 · 0 comments
Labels
enhancement New feature or request todo

Comments

@github-actions
Copy link

Validate that all configs are consistent across directories/locations

eg all have rmatx and rmaty set up correctly

# TODO: Validate that all jsons/needed keywords configs do exist.

    for i in range(len(json_namelist)):
        # load all jsons and save into one dict
        # skip jsons that don't exit and print that it is not found
        # TODO: Validate that all jsons/needed keywords configs do exist.
        # Validate that all configs are consistent across directories/locations
        # eg all have rmatx and rmaty set up correctly
        try:
            f = open(os.path.join(CONFIG_PATH + "/" + dir_name, json_namelist[i] + ".json"), encoding='utf-8')
        except FileNotFoundError:
@github-actions github-actions bot added the todo label Nov 19, 2022
@pluflou pluflou added the enhancement New feature or request label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request todo
Projects
None yet
Development

No branches or pull requests

1 participant