Skip to content

Commit fecaf7d

Browse files
committed
removed a few redundant @abc.abstractmethod decorators
1 parent f1179a9 commit fecaf7d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

microscope/abc.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,6 @@ def __init__(self, numLines: int, **kwargs) -> None:
15801580
# true is output, start with all lines defined for output.
15811581
self._IOMap = [True]*self._numLines
15821582

1583-
@abc.abstractmethod
15841583
def get_num_lines(self):
15851584
"""Returns the number of Io lines present in this instance"""
15861585
return self._numLines
@@ -1604,7 +1603,6 @@ def get_IO_state(self, line):
16041603
Return value is True for Output and False for Input"""
16051604
raise NotImplementedError()
16061605

1607-
@abc.abstractmethod
16081606
def set_all_IO_state(self, stateArray):
16091607
"""Sets the state of all lines to either Input or Output
16101608
Args:
@@ -1616,7 +1614,6 @@ def set_all_IO_state(self, stateArray):
16161614
self.set_IO_state(i,state)
16171615

16181616

1619-
@abc.abstractmethod
16201617
def get_all_IO_state(self):
16211618
"""Returns the state of a all Digital line, either Output or Input
16221619
@@ -1638,7 +1635,6 @@ def write_line(self,line,ouput):
16381635

16391636
raise NotImplementedError()
16401637

1641-
@abc.abstractmethod
16421638
def write_all_lines(self,ouput_array):
16431639
"""Sets the output level of every output line.
16441640
@@ -1662,7 +1658,6 @@ def read_line(self,line):
16621658
Return: A boolean of the line state"""
16631659
raise NotImplementedError()
16641660

1665-
@abc.abstractmethod
16661661
def read_all_lines(self):
16671662
"""Read all the input lines.
16681663
Return: Boolean Array with outline enteries set to None."""

0 commit comments

Comments
 (0)