-
Notifications
You must be signed in to change notification settings - Fork 37
Fixed published open rules for usdm #1759
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
Changes from all commits
16641f4
7803794
e26cd7c
2d0d2f4
7a04041
36dce76
d5c1efc
ab02864
7afc45b
572037e
9b9371e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -144,6 +144,9 @@ def get_dataset(self, dataset_name: str, **params) -> DatasetInterface: | |
| basename(full_path).split(".")[1].upper() | ||
| ) | ||
| df = reader.from_file(full_path) | ||
| # Build a simulated json pointer for the case where we are simulating json data. | ||
| if self.standard == "usdm": | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this and the excel data service using string literals for usdm are a bit fragile-- I ran a validation using USDM in capitals versus usdm in lowercase and got different results for the same data.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was actually a bug with the recently-added caching. I've resolved the bug and you should now see consistent results. Let me know if you still have other concerns about the capitalization. |
||
| df["_path"] = [f"/{dataset_name}/{i}" for i in range(len(df))] | ||
| return df | ||
|
|
||
| @cached_dataset(DatasetTypes.VARIABLES_METADATA.value) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.