-
Notifications
You must be signed in to change notification settings - Fork 5
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
Use natural sort order when storing data log to csv #699
Comments
Here is the code I have used to sort the datalog in a natural way! out : engine.time 0.membrane.V 1.membrane.V 10.membrane.V 100.membrane.V 101.membrane.V 102.membrane.V 103.membrane.V 104.membrane.V 105.membrane.V ... 90.membrane.V 91.membrane.V 92.membrane.V 93.membrane.V 94.membrane.V 95.membrane.V 96.membrane.V 97.membrane.V 98.membrane.V 99.membrane.V And here is what I get after natural sorting : in : #save dataframe to csv file out : 0.membrane.V 1.membrane.V 2.membrane.V 3.membrane.V 4.membrane.V 5.membrane.V 6.membrane.V 7.membrane.V 8.membrane.V 9.membrane.V ... 495.membrane.V 496.membrane.V 497.membrane.V 498.membrane.V 499.membrane.V 500.membrane.V 501.membrane.V 502.membrane.V 503.membrane.V engine.time And now the csv output is fine for plotting out of myokit! |
Makes it easier to load multicell data without having to re-order CSV columns, see #695
The text was updated successfully, but these errors were encountered: