--- trunk/src/applications/staticProps/NanoLength.cpp 2013/11/05 18:33:42 1942 +++ trunk/src/applications/staticProps/NanoLength.cpp 2015/03/07 21:41:51 2071 @@ -54,18 +54,19 @@ NanoLength::NanoLength(SimInfo* info, NanoLength::NanoLength(SimInfo* info, const std::string& filename, const std::string& sele) - : StaticAnalyser(info, filename), selectionScript_(sele), evaluator_(info), - seleMan_(info) { + : StaticAnalyser(info, filename), selectionScript_(sele), seleMan_(info), + evaluator_(info) { + setOutputName(getPrefix(filename) + ".length"); osq.open(getOutputFileName().c_str()); - + evaluator_.loadScriptString(sele); if (!evaluator_.isDynamic()) { seleMan_.setSelectionSet(evaluator_.evaluate()); } frameCounter_ = 0; -} + } void NanoLength::process() { Molecule* mol;