Skip to content

Commit

Permalink
pep8 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ojeda-e committed Jun 20, 2021
1 parent 48d8a19 commit 7e07df5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions membrane_curvature/lib/mods.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ def def_all_beads(lipid_types, leaflets, head_list, topology):
for lt in lipid_types:
print('====>', lt)
dic_all_beads['upper'][lt] = topology.select(
'resname ' + lt + ' and index ' + str(head_list[0])
'resname ' + lt + ' and index ' + str(head_list[0])
+ ' to ' + str(head_list[1]) + ' and name PO4').astype(int).tolist()
dic_all_beads['lower'][lt] = topology.select(
'resname ' + lt + ' and index ' + str(head_list[1] + 1)
'resname ' + lt + ' and index ' + str(head_list[1] + 1)
+ ' to ' + str(head_list[2]) + ' and name PO4').astype(int).tolist()

print("upper", len(dic_all_beads['upper'][lt]))
print("lower", len(dic_all_beads['lower'][lt]))

Expand Down

0 comments on commit 7e07df5

Please sign in to comment.