b2Fixture* BodyWrapper::LookUpFixture( const std::string& fixtureName ) const
{
    FixtureMap::const_iterator iter = _fixtureMap.find( fixtureName );
    if( iter != _fixtureMap.end() )
    {
        return iter->second.fixture;
    }
    else
    {
		TRI_LOG_STR("Unable to find fixture.");
		TRI_LOG(fixtureName);
    }

    return nullptr;
}
bool ECGController::readFile(std::string filename)
{
  TRI_LOG_STR(__FUNCTION__);
  //check filename to be correct with WFDB
  int pos;
  if ((pos = filename.find('.')) != std::string::npos)
  {
    filename = filename.substr(0, pos);
  }

  int nr_samples;

  size_t i;
  WFDB_Sample v[2];
  WFDB_Siginfo s[2];
  if (isigopen(const_cast<char*> (filename.c_str()), s, 2) < 2)
  {
    TRI_LOG_STR("File");
    TRI_LOG(filename);
    TRI_LOG_STR("Not loaded");
    LOG_END
    return false;
  }