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

auto_load_processed should be able to load a file processed anywhere #525

Open
patrickherring-TRI opened this issue Jan 25, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request priority

Comments

@patrickherring-TRI
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When reloading a file using auto_load_processed function, the function fails if it cannot find the validation schema file. This frequently occurs when the data is processed in the data pipeline and then opened on another machine. The reloading function goes to look for the file location of the validation schema and cannot find it.

Describe the solution you'd like
The auto_load_processed function should work in any environment. One possible solution is to change the schema attribute of the datapath class to be a dictionary containing the actual validation values instead of a file path.

Describe alternatives you've considered
Another is to force the function to use only validation schemas in the beep package (located at VALIDATION_SCHEMA_DIR), so that the path to those files is alway available.

Additional context
Add any other context about the feature request here.

@patrickherring-TRI patrickherring-TRI added the enhancement New feature or request label Jan 25, 2022
@ardunn
Copy link
Collaborator

ardunn commented Jan 26, 2022

note to self: See related PR #523

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority
Projects
None yet
Development

No branches or pull requests

2 participants