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

Update _widget_reader.py - save json #107

Closed
wants to merge 1 commit into from

Conversation

TomasPetro
Copy link
Contributor

I've edited it and it should work (I've tested saving the data and then loading it from File->OpenFile). I did this for YtReader and TimeSeriesReader. But the validate_data_model function does not return the model only the JSON. I don't know if it bothers or not but I had a problem converting the returned model to JSON. Besides, there is a hardcoded $schema$ because without it I couldn't load JSON files and I didn't know where I could get it into the function.

@TomasPetro TomasPetro closed this Nov 7, 2023
@TomasPetro TomasPetro deleted the patch-2 branch November 7, 2023 11:58
@chrishavlin
Copy link
Collaborator

Why'd you close the PR?

@chrishavlin
Copy link
Collaborator

Oh nevermind, I see you opened a second. Ignore my comment

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

Successfully merging this pull request may close these issues.

2 participants