Skip to content

Commit f501160

Browse files
authored
Update MINOTAUR.py
1 parent 352b2f2 commit f501160

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

MINOTAUR.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -720,9 +720,10 @@ def GetData(self):
720720

721721
self.PositionR1 = 0
722722
for i in range(len(self.RelaxFunc)):
723-
if ParamFile.RelaxationRates[i] != "R1":
724-
self.PositionR1 += 1
723+
if ParamFile.RelaxationRates[i] == "R1":
725724
break
725+
self.PositionR1 += 1
726+
726727

727728

728729
GUI.PositionR1 = self.PositionR1
@@ -972,4 +973,4 @@ def WriteResult(self):
972973

973974

974975

975-
976+

0 commit comments

Comments
 (0)