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
When I use println to print a DimArray it does not show the nice formatted printing of the Axes but only prints the values in the array. This is a huge footgun, because it can lead to printing multi GB worth of data.
I ran into it, when I wanted to print a subsetted array into a textfile to see the size of the dimensions, and then it printed the whole dataset into it.
When we replace the Base.show method with the MIME type by the 2-arg method without the MIME type this works as expected.
I can prepare a PR.
The text was updated successfully, but these errors were encountered:
We do not want to change this behaviour in DimensionalData because we would like to see the values of small arrays. We should implement show(io, A) for YAXArrays and Rasters because the show methods do not hit the show of the underlying DiskArray.
When I use println to print a DimArray it does not show the nice formatted printing of the Axes but only prints the values in the array. This is a huge footgun, because it can lead to printing multi GB worth of data.
I ran into it, when I wanted to print a subsetted array into a textfile to see the size of the dimensions, and then it printed the whole dataset into it.
When we replace the Base.show method with the MIME type by the 2-arg method without the MIME type this works as expected.
I can prepare a PR.
The text was updated successfully, but these errors were encountered: