Skip to content

Fix bug in get_coords#27

Merged
abradle merged 1 commit intorcsb:masterfrom
jonwedell:jonwedell-fix-get_coords
Jun 28, 2017
Merged

Fix bug in get_coords#27
abradle merged 1 commit intorcsb:masterfrom
jonwedell:jonwedell-fix-get_coords

Conversation

@jonwedell
Copy link
Contributor

get_coords() currently returns a list of coordinate tuples where the third position of each tuple is the entire list of z positions rather than the corresponding z position. For example:

In [70]: pdb_2dog.get_coords()[0]
Out[70]:
(-16.847000000000001,
2.899,
array([ 8.705, 7.462, 7.05 , ..., -7.325, -8.086, -7.866]))

get_coords() currently returns a list of coordinate tuples where the third position of each tuple is the entire list of z positions rather than the corresponding z position. For example:

In [70]: pdb_2dog.get_coords()[0]
Out[70]: 
(-16.847000000000001,
 2.899,
 array([ 8.705,  7.462,  7.05 , ..., -7.325, -8.086, -7.866]))
@abradle
Copy link
Collaborator

abradle commented Jun 28, 2017

Thanks! That was a silly one!

@abradle abradle merged commit 9dbd7e5 into rcsb:master Jun 28, 2017
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