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

Fix exporting and importing of invalid values #353

Merged
merged 1 commit into from
Jul 29, 2024
Merged

Conversation

sofiia-chorna
Copy link
Collaborator

Issue to be fixed with this PR:

  1. Export of settings with NaN values.
    If display mode is changed and z-axes is not selected, we export NaN to JSON as z.min and z.max are not defined; hence it breaks once someone wants to import this dataset to the chemiscope. Now we don't include such values to the exported settings.

  2. Import of settings with NaN or null values. It raises an exception currently in chemiscope.org, now we send a warning about an invalid value and omit it.

@Luthaf Luthaf merged commit d8220a1 into main Jul 29, 2024
6 checks passed
@Luthaf Luthaf deleted the fix-nan-export-import branch July 29, 2024 15:00
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