Skip to content

Commit 04c15c0

Browse files
Fix for issue #281
Fixed logic while checking output type
1 parent 274c9a5 commit 04c15c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microscope/abc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1658,7 +1658,7 @@ def write_all_lines(self, ouput_array):
16581658
raise ("Output array must be numLines in length")
16591659
for i in range(self._numLines):
16601660
# set line i to the IOMap entry, true for output false for input.
1661-
if not self._IOMap[i]:
1661+
if self._IOMap[i]:
16621662
self.write_line(i, ouput_array[i])
16631663

16641664
@abc.abstractmethod

0 commit comments

Comments
 (0)