Commit 292fb2a3 authored by COULAUD Olivier's avatar COULAUD Olivier

Add debug info

parent 49d3460a
...@@ -35,6 +35,7 @@ def readFMAHeader(Filename): ...@@ -35,6 +35,7 @@ def readFMAHeader(Filename):
s1,s2,s3,s4,s5 = (item.strip() for item in header2.split()) s1,s2,s3,s4,s5 = (item.strip() for item in header2.split())
NbParticles=int(s1) NbParticles=int(s1)
BoxWidth=float(s2)*2 BoxWidth=float(s2)*2
print "BoxWidth= ", BoxWidth
Centre = [float(s3),float(s4),float(s5)] Centre = [float(s3),float(s4),float(s5)]
f.close() f.close()
return dataType,nbRecordPerline,NbParticles,BoxWidth,Centre return dataType,nbRecordPerline,NbParticles,BoxWidth,Centre
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment