Replies: 1 comment
-
There is such a function, assuming that you mean mmCIF files, but it takes cif.Document. The second line in your example would be:
The reason why it takes Document not Block is that sometimes, if multiple blocks are present, the subsequent blocks in the file might be missing the space group and cell parameters. In such cases, the function copies them from the first block in the Document. (This approach might be questionable, actually.) For small molecule files, we have function |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I was wondering if there is a way to convert a
gemmi.cif.Block
to agemmi.ReflnBlock
.I would like to do the following:
Beta Was this translation helpful? Give feedback.
All reactions