Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save moxgreen/fd09ffb65af93a22b7dfc22c43fcaf27 to your computer and use it in GitHub Desktop.

Select an option

Save moxgreen/fd09ffb65af93a22b7dfc22c43fcaf27 to your computer and use it in GitHub Desktop.

Revisions

  1. @moonwatcher moonwatcher created this gist Jan 5, 2018.
    22 changes: 22 additions & 0 deletions bcl2fastq2_2_20_0_xml_writer_make_settings.patch
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    --- src/cxx/lib/io/Xml.cpp 2018-01-05 14:12:25.000000000 -0500
    +++ src/cxx/lib/io/Xml.cpp 2018-01-05 14:12:35.000000000 -0500
    @@ -168,19 +168,11 @@
    if (!tree.empty())
    {
    unindex(*tree.begin(), treeWithIndexAttributes);
    -#ifndef WIN32
    - boost::property_tree::write_xml(os, treeWithIndexAttributes, boost::property_tree::xml_writer_make_settings(' ', 2));
    -#else
    boost::property_tree::write_xml(os, treeWithIndexAttributes, boost::property_tree::xml_writer_make_settings<std::string>(' ', 2));
    -#endif
    }
    else
    {
    -#ifndef WIN32
    - boost::property_tree::write_xml(os, tree, boost::property_tree::xml_writer_make_settings(' ', 2));
    -#else
    boost::property_tree::write_xml(os, tree, boost::property_tree::xml_writer_make_settings<std::string>(' ', 2));
    -#endif
    }
    return os;
    }