Skip to content

Commit

Permalink
Linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gmegh committed Oct 15, 2024
1 parent 023da35 commit 998d3a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@


class TakeAOSSequenceComCam(BaseBlockScript):
"""Take aos sequence, either triplet (intra-focal, extra-focal
"""Take aos sequence, either triplet (intra-focal, extra-focal
and in-focus images), intra doublets (intra and in-focus) or extra
doublets (extra and in-focus) sequences with ComCam.
Expand Down Expand Up @@ -283,7 +283,8 @@ async def take_out_of_focus_sequence(self) -> None:
self.log.exception("Executing OCPS task failed. Ignoring.")

async def move_hexapod(self, target_z: float) -> None:
"""Move the hexapod to the target z position (relative to current position).
"""Move the hexapod to the target z position
(relative to current position).
Parameters
----------
Expand Down
14 changes: 7 additions & 7 deletions tests/test_maintel_take_aos_sequence_comcam.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from lsst.ts.standardscripts.maintel import TakeAOSSequenceComCam


class TakeAOSSequenceComCam(
class TestTakeAOSSequenceComCam(
standardscripts.BaseScriptTestCase, unittest.IsolatedAsyncioTestCase
):
async def basic_make_script(self, index):
Expand Down Expand Up @@ -57,7 +57,7 @@ async def test_configure(self):
filter = "g"
dz = 2000.0
n_sequences = 15
mode = 'intra'
mode = "intra"

await self.configure_script(
filter=filter,
Expand All @@ -70,7 +70,7 @@ async def test_configure(self):
assert self.script.filter == filter
assert self.script.dz == 2000.0
assert self.script.n_sequences == n_sequences
assert self.script.mode == 'intra'
assert self.script.mode == "intra"

async def test_configure_ignore(self):
async with self.make_script():
Expand All @@ -83,7 +83,7 @@ async def test_configure_ignore(self):
filter = "g"
dz = 2000.0
n_sequences = 15
mode = 'intra'
mode = "intra"
ignore = ["mtrotator", "mtm2", "ccoods"]

await self.configure_script(
Expand All @@ -98,7 +98,7 @@ async def test_configure_ignore(self):
assert self.script.filter == filter
assert self.script.dz == 2000.0
assert self.script.n_sequences == n_sequences
assert self.script.mode == 'intra'
assert self.script.mode == "intra"
assert self.script.mtcs.check.mtmount
assert not self.script.mtcs.check.mtrotator
assert not self.script.mtcs.check.mtm2
Expand All @@ -110,7 +110,7 @@ async def test_take_triplets(self):
filter = "g"
dz = 2000.0
n_sequences = 3
mode = 'triplet'
mode = "triplet"

await self.configure_script(
filter=filter,
Expand All @@ -131,7 +131,7 @@ async def test_take_doublet(self):
filter = "g"
dz = 2000.0
n_sequences = 3
mode = 'intra'
mode = "intra"

await self.configure_script(
filter=filter,
Expand Down

0 comments on commit 998d3a0

Please sign in to comment.