Skip to content

changed index of conformers in gnina function to match pymol indexing#28

Open
BenCree wants to merge 1 commit intocole-group:masterfrom
BenCree:master
Open

changed index of conformers in gnina function to match pymol indexing#28
BenCree wants to merge 1 commit intocole-group:masterfrom
BenCree:master

Conversation

@BenCree
Copy link
Collaborator

@BenCree BenCree commented Mar 21, 2023

added 1 to index of 'Conformer'

@bieniekmateusz
Copy link
Collaborator

Thanks @BenCree , sorry for taking so long, could you remind me please what is the issue with starting from 0 here? It will be a good note for the log. Cheers, Mat

@bieniekmateusz
Copy link
Collaborator

One way to add to index is to directly refer to the index "column":
result.index += 1
Source: https://stackoverflow.com/questions/20167930/start-index-at-1-for-pandas-dataframe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants