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
netid uaid portal
1 figshare01-test T440413500927388672 arts_design
Traceback (most recent call last):
File "/Applications/anaconda3/envs/ual-patron-groups/lib/python3.7/site-packages/pandas/core/ops/__init__.py", line 968, in na_op
result = expressions.evaluate(op, str_rep, x, y, **eval_kwargs)
File "/Applications/anaconda3/envs/ual-patron-groups/lib/python3.7/site-packages/pandas/core/computation/expressions.py", line 221, in evaluate
return _evaluate(op, op_str, a, b, **eval_kwargs)
File "/Applications/anaconda3/envs/ual-patron-groups/lib/python3.7/site-packages/pandas/core/computation/expressions.py", line 70, in _evaluate_standard
return op(a, b)
File "/Applications/anaconda3/envs/ual-patron-groups/lib/python3.7/site-packages/pandas/core/ops/roperator.py", line 13, in rsub
return right - left
TypeError: unsupported operand type(s) for -: 'set' and 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "requiam/script_run", line 164, in <module>
ldap_members = mo.identify_changes(ldap_members, portal, 'portal')
File "/Users/cly/codes/UALibraries/ReQUIAM/requiam/manual_override.py", line 81, in identify_changes
outside_df['uaid'], 'remove', self.log)
File "/Users/cly/codes/UALibraries/ReQUIAM/requiam/manual_override.py", line 199, in update_entries
new_ldap_set = ldap_set - uaid
File "/Applications/anaconda3/envs/ual-patron-groups/lib/python3.7/site-packages/pandas/core/ops/__init__.py", line 1048, in wrapper
result = na_op(lvalues, rvalues)
File "/Applications/anaconda3/envs/ual-patron-groups/lib/python3.7/site-packages/pandas/core/ops/__init__.py", line 970, in na_op
result = masked_arith_op(x, y, op)
File "/Applications/anaconda3/envs/ual-patron-groups/lib/python3.7/site-packages/pandas/core/ops/__init__.py", line 450, in masked_arith_op
assert is_scalar(y), type(y)
AssertionError: <class 'set'>
The text was updated successfully, but these errors were encountered:
The issue stem from handling pandas content. It was fixed by using the to_list() option for the netid and converting the uaid to a set for set operations (addition and removal).
This was seen in
release/v0.11.0
.The text was updated successfully, but these errors were encountered: