Skip to content

Extracting Data From Cif File #190

Closed Answered by wojdyr
SamCox822 asked this question in Q&A
Discussion options

You must be logged in to vote
from gemmi import cif
doc = cif.read(path)
block = doc[0]
value_possibly_with_quotes = block.find_value('_symmetry_space_group_name_Hall')
value = cif.as_string(value_possibly_with_quotes)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SamCox822
Comment options

Answer selected by SamCox822
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants