Skip to content

Commit

Permalink
remove invalid dtype param
Browse files Browse the repository at this point in the history
  • Loading branch information
c-w-feldmann committed Jan 6, 2025
1 parent 66f3f2e commit 26604c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion molpipeline/error_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def co_transform(self, values: TypeFixedVarSeq) -> TypeFixedVarSeq:
out_list.append(value)
return out_list # type: ignore # mypy does not support higher-kinded types
if isinstance(values, np.ndarray):
return np.delete(values, self.error_indices, axis=0, dtype=values) # type: ignore
return np.delete(values, self.error_indices, axis=0) # type: ignore
raise TypeError(f"Unexpected Type: {type(values)}")

def transform(self, values: TypeFixedVarSeq) -> TypeFixedVarSeq:
Expand Down

0 comments on commit 26604c6

Please sign in to comment.