One of the challenges with CIF files is handling disorder. If you simply read the list of atoms, you'll get some super-close cases because they're disordered in the crystal: https://github.com/OpenChemistry/avogadrolibs/issues/2437

I'm working through a stack of pull requests to improve how Avogadro handles this. The basic idea is to use the layer system. That is, the "main" atoms will be in the first layer and then other disorder groups will be added to hidden layers. You can hide / show them as you want.

This will probably be a bunch of headaches for a few weeks - I need to make sure that CJSON saves the hidden layers, but other export (e.g., to input generators, etc.) ignore them. (And I need to consider how plugins should handle this too.)

I think the end result will be good, but there will definitely be some disorder if you use CIF files and continuous builds as I work through the changes.



Discuss this on our forum.