diff --git a/PySpice/Spice/NgSpice/RawFile.py b/PySpice/Spice/NgSpice/RawFile.py index 309cf89f..37ac5209 100644 --- a/PySpice/Spice/NgSpice/RawFile.py +++ b/PySpice/Spice/NgSpice/RawFile.py @@ -192,7 +192,7 @@ def _read_header(self, stdout): header_line_iterator = iter(header_lines) try: - self._read_header_field_line(header_line_iterator, 'Note', has_value=False) + self.note = self._read_header_field_line(header_line_iterator, 'Note') except Exception as e: if 'No compatibility mode selected' in str(e): # Reset iterator