Skip to content
Snippets Groups Projects
Commit f9adc0a5 authored by Yngve Levinsen's avatar Yngve Levinsen
Browse files

fix TraceWin.partran

seems number of header lines vary..
parent 3ac4c074
No related branches found
No related tags found
No related merge requests found
......@@ -651,6 +651,8 @@ class partran(dict):
stream=file(self.filename,'r')
for i in xrange(10):
line=stream.readline()
if line.strip()[0]=='#':
break
self.columns=['NUM']+line.split()[1:]
self.data=numpy.loadtxt(stream)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment