Skip to content

Commit 11f5dcf

Browse files
committed
Do handle ngspice notes
I saw this issue but I didn't thought it would affect me... well IT DID! See PySpice-org#313 or PySpice-org#328 truly a problem
1 parent 665ddf3 commit 11f5dcf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

PySpice/Spice/NgSpice/Shared.py

+6
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,12 @@ def _send_char(message_c, ngspice_id, user_data):
637637
func = self._logger.debug
638638
elif content.startswith('run simulation interrupted'):
639639
func = self._logger.debug
640+
elif content.startswith('Note:'):
641+
func = self._logger.info
642+
elif content.startswith('Trying'):
643+
func = self._logger.info
644+
elif content.startswith('Supplies reduced'):
645+
func = self._logger.info
640646
else:
641647
self._error_in_stderr = True
642648
func = self._logger.error

0 commit comments

Comments
 (0)