Skip to content

Commit

Permalink
setdefect -- reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Marsh committed May 22, 2021
1 parent c2e8c9b commit 9eb2da1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions hipercam/scripts/setdefect.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,8 @@ def _point(self):
self.action_prompt(True)

def _line(self):
"""Once all set to add a Line defect, this routine actually carries out the
necessary operations
"""Once all set to add a Line defect, this routine actually carries
out the necessary operations
"""

Expand Down Expand Up @@ -685,14 +685,16 @@ def _line(self):
self.mccd_dfct[self._cnam][self._buffer] = dfct

# add defect to the plot, store plot objects
self.pobjs[self._cnam][self._buffer] = hcam.mpl.pDefect(self._axes, dfct)
self.pobjs[self._cnam][self._buffer] = \
hcam.mpl.pDefect(self._axes, dfct)

# make sure it appears
plt.draw()

# let user know what has happened
level = (
"moderate" if self._severity == defect.Severity.MODERATE else "severe"
"moderate" if \
self._severity == defect.Severity.MODERATE else "severe"
)

print(
Expand Down

0 comments on commit 9eb2da1

Please sign in to comment.