You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
Job: Executing operation "pearson_correlation_scalar"
Message: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Code: -32003
Method: set_workspace_resource
Exception: ValueError
Traceback (most recent call last):
File "C:\Users\Norman\IdeaProjects\ccitools\cate\cate\util\web\jsonrpchandler.py", line 209, in send_service_method_result
result = future.result()
File "C:\Users\Norman\Miniconda3\envs\cate-env\lib\concurrent\futures\_base.py", line 425, in result
return self.__get_result()
File "C:\Users\Norman\Miniconda3\envs\cate-env\lib\concurrent\futures\_base.py", line 384, in __get_result
raise self._exception
File "C:\Users\Norman\Miniconda3\envs\cate-env\lib\concurrent\futures\thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\Norman\IdeaProjects\ccitools\cate\cate\util\web\jsonrpchandler.py", line 306, in call_service_method
result = method(*method_params, monitor=monitor)
File "C:\Users\Norman\IdeaProjects\ccitools\cate\cate\webapi\websocket.py", line 291, in set_workspace_resource
monitor=monitor)
File "C:\Users\Norman\IdeaProjects\ccitools\cate\cate\core\wsmanag.py", line 317, in set_workspace_resource
workspace.execute_workflow(res_name=res_name, monitor=monitor)
File "C:\Users\Norman\IdeaProjects\ccitools\cate\cate\core\workspace.py", line 652, in execute_workflow
self.workflow.invoke_steps(steps, context=self._new_context(), monitor=monitor)
File "C:\Users\Norman\IdeaProjects\ccitools\cate\cate\core\workflow.py", line 632, in invoke_steps
step.invoke(context=context, monitor=monitor.child(work=1))
File "C:\Users\Norman\IdeaProjects\ccitools\cate\cate\core\workflow.py", line 318, in invoke
self._invoke_impl(_new_context(context, step=self), monitor=monitor)
File "C:\Users\Norman\IdeaProjects\ccitools\cate\cate\core\workflow.py", line 980, in _invoke_impl
return_value = self._op(monitor=monitor, **input_values)
File "C:\Users\Norman\IdeaProjects\ccitools\cate\cate\core\op.py", line 216, in _call_
return_value = self._wrapped_op(**input_values)
File "C:\Users\Norman\IdeaProjects\ccitools\cate\cate\ops\correlation.py", line 110, in pearson_correlation_scalar
cc, pv = pearsonr(array_x.values, array_y.values)
File "C:\Users\Norman\Miniconda3\envs\cate-env\lib\site-packages\scipy\stats\stats.py", line 3025, in pearsonr
r = max(min(r, 1.0), -1.0)
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
What went wrong
Steps to reproduce the problem
Specifications
Cate 2.0.0.dev19 (in dev)
The text was updated successfully, but these errors were encountered: