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
{{ message }}
Repository navigation
io.ascii doesn't know about table column formats #330
If I make an astropy.table.Table and do table['somecolumn'].format = '%.2f', the various table printing methods work as expected: the column prints as a 2 sigfig floating point number. However, if I then do astropy.io.ascii.write(table,'somefile.dat'), the resulting ascii file does not respect the format specifier for the column.
I'm not actually sure if it's better to have it do so or not, but it's ambiguous whether it's supposed to or not, so this issue can be viewed as either a request to implement this (respecting format when using astropy.io.ascii.write on a table), or clarifying in the docs that this will not work the way one might expect.
This is part of the bigger issue #307 to really integrate Table and io.ascii. But good to leave this open as an explicit issue that needs to be addressed.
Activity
taldcroft commentedon Jul 30, 2012
This is part of the bigger issue #307 to really integrate
Tableandio.ascii. But good to leave this open as an explicit issue that needs to be addressed.taldcroft commentedon Jul 30, 2012
How many days are we going to sprint at the next astropy meeting at STScI??? I need all of them. :-)
eteq commentedon Aug 1, 2012
Well, tell us how many you'll need and we'll make it happen :)
embray commentedon Dec 17, 2012
For some reason this is placed in the 0.3 milestone, but was fixed by #483, so it will be in 0.2.
Merge pull request astropy#483 from taldcroft/ascii-table
Merge pull request astropy#330 from drdavella/fix-warnings
Merge pull request astropy#330 from bsipocz/astropy_321