Skip to content

Commit

Permalink
Fix in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jrm5100 committed May 5, 2021
1 parent c2a73d8 commit a3f131f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas_genomics/accessors/dataframe_accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, pandas_obj):
for colname in pandas_obj.columns:
if not GenotypeDtype.is_dtype(pandas_obj[colname].values.dtype):
raise AttributeError(
f"Incompatible datatype: column {colname} is '{pandas_obj[colname].dtype}',"
f"Incompatible datatype: column {colname} is '{pandas_obj[colname].values.dtype}',"
f" but must be a GenotypeDtype"
)
self._obj = pandas_obj
Expand Down

0 comments on commit a3f131f

Please sign in to comment.