Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #423 from jrekoske-usgs/string
Browse files Browse the repository at this point in the history
Better formatting for metrics.
  • Loading branch information
emthompson-usgs authored Sep 20, 2019
2 parents d498171 + 40403b3 commit d53f0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gmprocess/metrics/station_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ def get_metric_xml(self):
value = np.nan
else:
value = vals[0]
imc_tag.text = '%.8f' % value
imc_tag.text = '%.8g' % value
xmlstr = etree.tostring(root, pretty_print=True,
encoding='unicode')
return xmlstr
Expand Down

0 comments on commit d53f0bf

Please sign in to comment.