You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bug report about the dataset browser included in the open neuro website. When browsing the list of files in a dataset, there are often JSON files in there. Alongside the filename will be a small "eye" icon that we can click to preview the JSON file in a pretty way.
If the JSON properties have values that are 'null' (not as a string, as the keyword), '0' (as an integer), '0.0' (as a float) or 'false' (as the JSON keyword), the pretty view at the top will not show the property, instead it will say "Property is empty" (and not even indicate the property name).
I'm including two screenshots: a section of JSON
and the 'pretty' render of that section:
Expected behavior
The pretty view should show the property name and the value in exactly the same type as in the JSON (null, 0, 0.0, "" etc).
How to reproduce
Go the ANY openneuro dataset
dig down through the files
find a JSON file
click the 'eye' icon and compare what you see and what was in the JSON file
Desktop
Any browser.
Phone
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
What went wrong?
This is a bug report about the dataset browser included in the open neuro website. When browsing the list of files in a dataset, there are often JSON files in there. Alongside the filename will be a small "eye" icon that we can click to preview the JSON file in a pretty way.
If the JSON properties have values that are 'null' (not as a string, as the keyword), '0' (as an integer), '0.0' (as a float) or 'false' (as the JSON keyword), the pretty view at the top will not show the property, instead it will say "Property is empty" (and not even indicate the property name).
I'm including two screenshots: a section of JSON
and the 'pretty' render of that section:
Expected behavior
The pretty view should show the property name and the value in exactly the same type as in the JSON (null, 0, 0.0, "" etc).
How to reproduce
Desktop
Any browser.
Phone
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: