Skip to content

Commit

Permalink
Re #5042 Fix problem with script generation
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoucet committed Apr 10, 2012
1 parent 3eae4bc commit fd16ca4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ def to_script(self, for_automated_reduction=False):
# Scattering angle options
if self.use_center_pixel:
if self.set_detector_angle:
script += " DetectorAngle=%s\n" % str(self.detector_angle)
script += " DetectorAngle=%s,\n" % str(self.detector_angle)
if self.set_detector_angle_offset:
script += " DetectorAngle0=%s\n" % str(self.detector_angle_offset)
script += " DetectorAngle0=%s,\n" % str(self.detector_angle_offset)
if self.set_direct_pixel:
script += " DirectPixel=%s\n" % str(self.direct_pixel)
script += " DirectPixel=%s,\n" % str(self.direct_pixel)

else:
script += " Theta=%s,\n" % str(self.theta)
Expand Down

0 comments on commit fd16ca4

Please sign in to comment.