Skip to content

Commit

Permalink
ndarray to list
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmonteiro committed Apr 2, 2024
1 parent 8e713a6 commit cb653a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions workflow_funcs/workflow_compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import tercen.http.HttpClientService as th

def isnumeric(val):

return isinstance(val, np.number ) or isinstance(val, int) or isinstance(val, float)


Expand Down Expand Up @@ -187,7 +186,7 @@ def compare_schema(client, tableIdx, schema, refSchema, tol=0, tolType="absolute
"RefValues":refColVals,
"Values":colVals,
"OutOfRangeIdx":util.which(rel > tol),
"CompResult":rel
"CompResult":list(rel)
}
if hasattr(tableRes, "ColumnResults"):
tableRes["ColumnResults"].append(colResult)
Expand Down

0 comments on commit cb653a2

Please sign in to comment.