Skip to content

Commit

Permalink
Fix the creation of .mat files (#627)
Browse files Browse the repository at this point in the history
PEP8 corrections
  • Loading branch information
lfarv authored Jul 13, 2023
1 parent e3769b2 commit e2ab70c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pyat/at/lattice/elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -884,10 +884,6 @@ def __init__(self, family_name: str, length: float,
super(Sextupole, self).__init__(family_name, length, [], poly_b,
**kwargs)

def items(self) -> Generator[Tuple, None, None]:
yield from super().items()
yield 'H', self.H


class Octupole(Multipole):
"""Octupole element, with no changes from multipole at present"""
Expand Down

0 comments on commit e2ab70c

Please sign in to comment.