Skip to content

Commit

Permalink
rm float check
Browse files Browse the repository at this point in the history
  • Loading branch information
joyceyan committed Nov 26, 2024
1 parent cbee201 commit d89ed66
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cellxgene_schema_cli/cellxgene_schema/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,11 +561,6 @@ def _validate_column(self, column: pd.Series, column_name: str, df_name: str, co
f"Column '{column_name}' in dataframe '{df_name}' must be boolean, not '{column.dtype.name}'."
)

if column_def.get("type") == "float" and column.dtype != float:
self.errors.append(
f"Column '{column_name}' in dataframe '{df_name}' must be float, not '{column.dtype.name}'."
)

if column_def.get("type") == "categorical":
if column.dtype.name != "category":
self.errors.append(
Expand Down

0 comments on commit d89ed66

Please sign in to comment.