[mesa-users] Profile name zero padding

Ehsan Moravveji e.moravveji at gmail.com
Fri Dec 5 05:07:45 EST 2014


Dear Bill,
I would like to ask for a new feature regarding the profile names. 
I find it a bit inconvenient that profile names are not zero padded from left, because when listing the stored profiles in the LOGS directory with “ls” command, or when using “glob” in python to fetch the list of available files, they are no longer returned in the order by which they were produced. E.g. profile11.data will appear after profile1.data, but before profile2.data. Left zero padding resolves this. This makes life easier (and happier :-D) when plotting profiles in sequential order.

Is it possible to allow zero padding with profile names, and give users control over the number of desired zeros to pad with?

Thanks for your supports.
Ehsan.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20141205/b2989694/attachment.html>


More information about the Mesa-users mailing list