Skip to content

Commit

Permalink
Add np.NaN to list_errors in number_density
Browse files Browse the repository at this point in the history
This fixes a parsing error for newer versions of pandas.
  • Loading branch information
smutch authored and qyx268 committed Jul 21, 2023
1 parent 229a40f commit 0d717f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astrodatapy/number_density.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
list_MAG = ['MB2MABB', 'M1450', 'LBsol2M1450', 'MABB', 'Mg2MB', 'M14502MB','M1600', 'Bolometric']

# For y Error Format of number density
list_Errors = ['ULLimits', 'LULimits', 'ULDeltas', 'LUDeltas', 'Delta', 'None']
list_Errors = ['ULLimits', 'LULimits', 'ULDeltas', 'LUDeltas', 'Delta', 'None', np.NaN]

class number_density:

Expand Down

0 comments on commit 0d717f5

Please sign in to comment.