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
test_input = {'exposure time': <Quantity [2., 2.] s>}, expected_output = {'exposure time': <Quantity [2., 2.] s>}
def assert_metas_equal(test_input, expected_output):
if not (test_input is None and expected_output is None):
assert test_input.keys() == expected_output.keys()
for key in list(test_input.keys()):
> assert test_input[key] == expected_output[key]
E ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Need to account for a key being an array.
The text was updated successfully, but these errors were encountered:
Describe the bug
Need to account for a key being an array.
The text was updated successfully, but these errors were encountered: