Skip to content

Commit

Permalink
bug: add missing Sun in simple units
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand committed Jan 9, 2024
1 parent c0ebce4 commit 7c1f5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astropy/units/format/vounit.py
Expand Up @@ -43,7 +43,7 @@ def _generate_unit_names():
"solRad", "sr", "T", "u", "V", "voxel", "W", "Wb", "yr",
] # fmt: skip
binary_bases = ["bit", "byte", "B"]
simple_units = ["Angstrom", "angstrom", "AU", "au", "Ba", "dB", "mas"]
simple_units = ["Angstrom", "angstrom", "AU", "au", "Ba", "dB", "mas", "Sun"]
si_prefixes = [
"y", "z", "a", "f", "p", "n", "u", "m", "c", "d",
"", "da", "h", "k", "M", "G", "T", "P", "E", "Z", "Y"
Expand Down

0 comments on commit 7c1f5e6

Please sign in to comment.