yeatmanlab / AFQ-Browser

Browser-based visualization tools for AFQ results
BSD 3-Clause "New" or "Revised" License
33 stars 15 forks source link

Decimal places #247

Closed jyeatman closed 6 years ago

jyeatman commented 6 years ago

@arokem @richford @anotherjoshsmith The metadata table now shows 6 decimal places. Before we were doing something different because age just showed up as an integer (eg, 7 rather than 7.000000). Is there a good way to determine how to format the table? I can understand why we might want better precision. But in most instances it will just look weird to have that many zeros

richford commented 6 years ago

This is a result of the formatting decisions made in #187. It's a one liner to change the number of decimal places. Just let me know what precision is best. Also, if you want, I can check if the whole column is full of integers and take away the decimal places in that case. That's more than a one-liner but should be fairly straight-forward.

jyeatman commented 6 years ago

Can we show as many decimal places as are defIndeed in the data? Otherwise I would probably display 2 decimal places or an integer -- Sent from a mobile device. Please excuse typos