-
Notifications
You must be signed in to change notification settings - Fork 94
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
Explore Updating Biotite and other deps. #733
Conversation
Added Tests for in-blender here: https://github.com/zachcp/MolecularNodes/actions/runs/13270261007 Those look like the same errors. So.... I think an update in deps that ALSO updates those calls should work in blender and outside of blender (e.g. targeting
|
Okey. here's the first substantive issue. A difference in key handling for tests/test_assembly.py:66:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
molecularnodes/entities/molecule/oldcif.py:198: in get_transformations
assembly_gen_category = self._file["pdbx_struct_assembly_gen"]
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <biotite.structure.io.pdbx.CIFFile object at 0x32e41c710>, key = 'pdbx_struct_assembly_gen'
def __getitem__(self, key):
> block = self._blocks[key]
E KeyError: 'pdbx_struct_assembly_gen'
.pixi/envs/default/lib/python3.11/site-packages/biotite/structure/io/pdbx/cif.py:879: KeyError
---------------------------------------- Captured stdout setup ----------------------------------------
mn.session.get_session().entities={}
list(bpy.data.objects)=[bpy.data.objects['Camera'], bpy.data.objects['Cube'], bpy.data.objects['Light']]
-------------------------------------- Captured stdout teardown ---------------------------------------
Post Test setup:
bpy.app.handlers.frame_change_pre=[<function update_entities at 0x13abfd440>]
mn.session.get_session().entities.keys()=dict_keys([])
list(bpy.data.objects)=[bpy.data.objects['Camera'], bpy.data.objects['Cube'], bpy.data.objects['Light']]
list(o.uuid for o in bpy.data.objects)=['', '', '']
======================================= short test summary info =======================================
FAILED tests/test_assembly.py::test_get_transformations[1f2n-cif] - KeyError: 'pdbx_struct_assembly_gen'
FAILED tests/test_assembly.py::test_get_transformations[5zng-cif] - KeyError: 'pdbx_struct_assembly_gen'
FAILED tests/test_assembly.py::test_get_transformations_cif[1] - KeyError: 'pdbx_struct_assembly_gen'
FAILED tests/test_assembly.py::test_get_transformations_cif[2] - KeyError: 'pdbx_struct_assembly_gen'
FAILED tests/test_assembly.py::test_get_transformations_cif[3] - KeyError: 'pdbx_struct_assembly_gen'
FAILED tests/test_assembly.py::test_get_transformations_cif[4] - KeyError: 'pdbx_struct_assembly_gen'
FAILED tests/test_assembly.py::test_get_transformations_cif[5] - KeyError: 'pdbx_struct_assembly_gen'
===================================== 7 failed, 2 passed in 0.82s ===================================== |
@BradyAJohnston I'm sorry but I've managed to unintentionally hang the test suite. Can you cancel the above jobs please? |
Superceded by #737 |
Note: this PR is not intended for inclusion, but for testing the extent of issues in updating the pip deps.