Skip to content
Snippets Groups Projects
LoadFITS.cpp 36.1 KiB
Newer Older
        if (lineSplit[0] == g_BIT_DEPTH_NAME && lineSplit[1] != "")
        if (lineSplit[0] == g_AXIS_NAMES_NAME && lineSplit[1] != "") {
          m_headerAxisNameKeys.clear();
          boost::split(m_headerAxisNameKeys, lineSplit[1],
                       boost::is_any_of(","));
        if (lineSplit[0] == g_IMAGE_KEY_NAME && lineSplit[1] != "") {
      throw std::runtime_error(
          "Error while trying to read header keys mapping file: " + name);
  } catch (...) {
    g_log.error("Cannot load specified map file, using property values "
                "and/or defaults.");