We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74d14bc commit f7156fdCopy full SHA for f7156fd
PySpice/Spice/Xyce/RawFile.py
@@ -127,7 +127,10 @@ def _read_header(self, output):
127
128
""" Parse the header """
129
130
- binary_line = b'Binary:' + os.linesep.encode('ascii')
+ # see https://github.com/FabriceSalvaire/PySpice/issues/132
131
+ # Xyce open the file in binary mode and print using: os << "Binary:" << std::endl;
132
+ # endl is thus \n
133
+ binary_line = b'Binary:\n'
134
binary_location = output.find(binary_line)
135
if binary_location < 0:
136
raise NameError('Cannot locate binary data')
0 commit comments