Skip to content

How to asign one column to another column in cif.Document? #182

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

You must be logged in to vote

The simplest way is to do it while iterating over cif.Table:

for row in cif_block.find('_atom_site.', ['auth_seq_id', 'label_seq_id']):
    row[1] = row[0]

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wojdyr
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