Browse Source

add final names debug output

Jens Keim 5 years ago
parent
commit
53149e0a2c
2 changed files with 6 additions and 1 deletions
  1. 1 1
      build.sh
  2. 5 0
      code/Core/Statistics.py

+ 1 - 1
build.sh

@@ -54,7 +54,7 @@ else
     echo "Error: The 'build' directory was not found."
     exit
 fi
-
+ 
 which ninja &>/dev/null
 if [ $? != 0 ]; then
     cmake ..

+ 5 - 0
code/Core/Statistics.py

@@ -231,14 +231,19 @@ class Statistics:
         inverted_table = {}
         inverted_table["Interval count: "] = 0
 
+        #maybe enumerate is the problem
         for i, name in enumerate(column_names):
             if name in pretty_names.keys():
                 name = pretty_names[name]
             inverted_table[name] = []
             final_names.append(name)
+            print("loop " + str(i) + ": " + final_names)
+
+        print("finished:" + final_names)
 
         for row in interval_stats:
             print(row)
+            print(final_names)
             for column, name in zip(row, final_names):
                 if type(column) == str:
                     try: