From d94d1509dcff0d43408e7ed66a453a38492edc5d Mon Sep 17 00:00:00 2001 From: Martin Hierholzer <martin.hierholzer@desy.de> Date: Mon, 9 Jul 2018 15:47:59 +0200 Subject: [PATCH] removed some annoying debug output --- src/CSAdapterEqFct.cc | 1 - src/eq_create.cc | 8 +++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/CSAdapterEqFct.cc b/src/CSAdapterEqFct.cc index 8113f64..4a7fbbe 100644 --- a/src/CSAdapterEqFct.cc +++ b/src/CSAdapterEqFct.cc @@ -32,7 +32,6 @@ namespace ChimeraTK{ } void CSAdapterEqFct::init(){ - std::cout << "this is eqfct init of " << name() << std::endl; } int CSAdapterEqFct::fct_code(){ diff --git a/src/eq_create.cc b/src/eq_create.cc index c716f13..9ef80ca 100644 --- a/src/eq_create.cc +++ b/src/eq_create.cc @@ -24,17 +24,15 @@ void eq_init_prolog() { auto pvNames = ChimeraTK::getAllVariableNames( doocsAdapter.getControlSystemPVManager() ); auto xmlFileName = ChimeraTK::ApplicationBase::getInstance().getName()+XML_CONFIG_SUFFIX; - + struct stat buffer; - if (stat (xmlFileName.c_str(), &buffer) == 0){ + if (stat (xmlFileName.c_str(), &buffer) == 0){ ChimeraTK::VariableMapper::getInstance().prepareOutput(xmlFileName, pvNames); }else{ std::cerr << "WARNING: No XML file for the Doocs variable config found. Trying direct import." << std::endl; ChimeraTK::VariableMapper::getInstance().directImport(pvNames); } - // print the mapping for debug purposes - ChimeraTK::VariableMapper::getInstance().print(); - + // activate the advanced archiver to have histories set_arch_mode(1); } -- GitLab