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
Why is this new file so large by line count, I wondered, and then saw that (black/PEP8) makes it sparse like this and it all made sense 😁 I guess these create_test_file*.py pair files being 10K+ lines is just about manageable, but we could consider moving the hard-coded large written-out data arrays into a separate file or files to read-in, perhaps using the numpy.savetxt and numpy.loadtxt functions, else maybe csv format or pickle? It would probably be quite useful to be able to see the logical code in such modules without having to wade through raw numbers...
Will be solved by using numpy.npz files.
The text was updated successfully, but these errors were encountered:
See @sadielbartholomew's description of the problem here: NCAS-CMS/cf-python#698 (comment)
Will be solved by using
numpy
.npz
files.The text was updated successfully, but these errors were encountered: