Skip to content

Commit e037d16

Browse files
committed
removing inconsistent indenting from vort.py
1 parent 4a40ac1 commit e037d16

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

py/vort.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,13 @@ def run(start,fin,incr): #Performs the tracking
245245
v0c = vorts_c.element(index_r[0]).sign #Get the sign of the smallest distance vortex
246246
v0p = vorts_p.element(i3).sign # Get the sign of the current vortex at index i3
247247
v1c = vorts_c.element(index_r[0]).uid #Get uid of current vortex
248-
#Check if distance is less than 7 grid points, and that the sign is matched between previous and current vortices, and that the current vortex has a negative uid, indicating that a pair has not yet been found. If true, then update the current vortex index to that of the previous vortex index, and turn vortex on --- may be dangerous
249-
if (index_r[1] < 30) and (vorts_c.element(index_r[0]).sign == vorts_p.element(i3).sign) and (vorts_c.element(index_r[0]).uid < 0) and (vorts_p.element(i3).isOn == True):
250-
vorts_c.element(index_r[0]).update_uid(vorts_p.element(i3).uid)
251-
vorts_c.element(index_r[0]).update_on(True)
252-
else:
253-
print "Failed to find any matching vortex. Entering interactive mode. Exit with Ctrl+D"
254-
from IPython import embed; embed()
248+
#Check if distance is less than 7 grid points, and that the sign is matched between previous and current vortices, and that the current vortex has a negative uid, indicating that a pair has not yet been found. If true, then update the current vortex index to that of the previous vortex index, and turn vortex on --- may be dangerous
249+
if (index_r[1] < 30) and (vorts_c.element(index_r[0]).sign == vorts_p.element(i3).sign) and (vorts_c.element(index_r[0]).uid < 0) and (vorts_p.element(i3).isOn == True):
250+
vorts_c.element(index_r[0]).update_uid(vorts_p.element(i3).uid)
251+
vorts_c.element(index_r[0]).update_on(True)
252+
else:
253+
print "Failed to find any matching vortex. Entering interactive mode. Exit with Ctrl+D"
254+
from IPython import embed; embed()
255255

256256

257257
#You will never remember why this works

0 commit comments

Comments
 (0)