+
+ variables["[distance]"] = list.getLabel();
+ string outputFileName = getOutputFileName("list", variables);
+
+ ofstream out;
+ m->openOutputFile(outputFileName, out);
+ outputTypes["list"].push_back(outputFileName); outputNames.push_back(outputFileName);
+
+ if (m->control_pressed) { in.close(); out.close(); return 0; }
+
+ vector<string> binLabels = list.getLabels();
+ vector<string> newBinLabels;