Spaces:
Sleeping
Sleeping
Commit
·
1c889af
1
Parent(s):
58c3645
Update code/add_alignment.py
Browse files- code/add_alignment.py +5 -0
code/add_alignment.py
CHANGED
@@ -122,7 +122,12 @@ def mutation_position_on_pdb(alignment_list, pos):
|
|
122 |
else:
|
123 |
pdb_alignStatus = 'not_aligned'
|
124 |
mutationPositionOnPDB = 'nan'
|
|
|
|
|
|
|
125 |
print(pdb_alignStatus, mutationPositionOnPDB, startGap, alignment_list[which_alignment_to_go - 1])
|
|
|
|
|
126 |
return (pdb_alignStatus, mutationPositionOnPDB, startGap, alignment_list[which_alignment_to_go - 1])
|
127 |
|
128 |
|
|
|
122 |
else:
|
123 |
pdb_alignStatus = 'not_aligned'
|
124 |
mutationPositionOnPDB = 'nan'
|
125 |
+
print()
|
126 |
+
print('-----')
|
127 |
+
print('ALIGNMENT STATUS')
|
128 |
print(pdb_alignStatus, mutationPositionOnPDB, startGap, alignment_list[which_alignment_to_go - 1])
|
129 |
+
print('-----')
|
130 |
+
print()
|
131 |
return (pdb_alignStatus, mutationPositionOnPDB, startGap, alignment_list[which_alignment_to_go - 1])
|
132 |
|
133 |
|