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
When adding keywords to a collection with the same alias and program I think the wrong error is raised this should be a KeyError but an AttributeError is raised.
To Reproduce
client=FractalClient()
ds=client.get_collection('Dataset','OpenFF Discrepancy Benchmark 1')
# get the keywordskw=ds.get_keywords('default', 'psi4')
# try and add them again to the collectionds.add_keywords(alias='default', program='psi4', keyword=kw, default=False)
Describe the bug
When adding keywords to a collection with the same alias and program I think the wrong error is raised this should be a
KeyError
but anAttributeError
is raised.To Reproduce
Expected behavior
Should raise the
KeyError
defined hereQCFractal/qcfractal/interface/collections/dataset.py
Line 1315 in 331f91c
Additional context
The text was updated successfully, but these errors were encountered: