summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/csv2sto.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/csv2sto.py b/scripts/csv2sto.py
index 5515e84..9609a99 100755
--- a/scripts/csv2sto.py
+++ b/scripts/csv2sto.py
@@ -76,6 +76,10 @@ def main():
fd.close()
+ print "Writing sto file %s with name %s" % (f_sto, name)
+ if maxtime != DEFAULT_MAXTIME:
+ print "Scaling to maxtime %f" % maxtime
+
fd_sto = open(f_sto, 'w')
fd_sto.write(name + "\n")
fd_sto.write("version=1\n")
@@ -83,10 +87,6 @@ def main():
fd_sto.write("nColumns=" + str(tot_nCols) + "\n")
fd_sto.write("endheader\n")
- print "Writing sto file %s with name %s" % (f_sto, name)
- if maxtime != DEFAULT_MAXTIME:
- print "Scaling to maxtime %f" % maxtime
-
fd_sto.write("time")
for f_csv in fs_csv:
colname = os.path.splitext(os.path.basename(f_csv))[0]