Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the tests in rcsb/db/tests* #73

Open
brindakv opened this issue Apr 10, 2024 · 0 comments
Open

Fix the tests in rcsb/db/tests* #73

brindakv opened this issue Apr 10, 2024 · 0 comments

Comments

@brindakv
Copy link
Contributor

Specifically, tests-validate/testSchemaDataPrepValidate.py throws errors.

Traceback (most recent call last):
  File "~/py-rcsb_db/rcsb/db/define/SchemaDefAccess.py", line 196, in getPrivateDocumentAttributes
    return [d for d in self.__documentDefDict["COLLECTION_DOCUMENT_PRIVATE_KEYS"][collectionName]]
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'pdbx_core_entity'

Traceback (most recent call last):
  File "~/py-rcsb_db/rcsb/db/define/SchemaDefAccess.py", line 196, in getPrivateDocumentAttributes
    return [d for d in self.__documentDefDict["COLLECTION_DOCUMENT_PRIVATE_KEYS"][collectionName]]
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'pdbx_core_entity_instance'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant