37#include "boost/range/adaptor/transformed.hpp"
38#include "boost/range/algorithm/max_element.hpp"
39#include "boost/range/algorithm/min_element.hpp"
61 readers.
read(example_data_dir+
"/example.pep.xml", mzid0, readerConfig);
62 readers.
read(example_data_dir+
"/example.prot.xml", mzid1, readerConfig);
72 readers.
read(example_data_dir+
"/example.pep.xml", mzid0, readerConfig);
73 readers.
read(example_data_dir+
"/example.prot.xml", mzid0, readerConfig);
74 readers.
read(example_data_dir+
"/example.prot.xml", mzid1, readerConfig);
77 if (
os_ && diff1) *
os_ << diff1 << endl;
84 readers.
read(example_data_dir+
"/example.prot.xml", mzid0, readerConfig);
85 readers.
read(example_data_dir+
"/example.prot.mzid", mzid1, readerConfig);
88 if (
os_ && diff2) *
os_ << diff2 << endl;
89 else if (diff2) cout << diff2 << endl;
95int main(
int argc,
char** argv)
101 if (argc>1 && !strcmp(argv[1],
"-v"))
os_ = &cout;
103 std::string srcparent(__FILE__);
104 size_t pos = srcparent.find((bfs::path(
"pwiz") /
"data").
string());
105 srcparent.resize(pos);
106 string example_data_dir = srcparent +
"example_data";
int main(int argc, char **argv)
virtual void read(const std::string &filename, IdentData &result, const Config &config=Config()) const
delegates to first child that identifies
Calculate diffs of objects in a ProteoWizard data model hierarchy.
Implementation of the MzIdentMLType from the mzIdentML schema.
HACK: provide an option to read only file-level metadata; once we have an enumerable ResultList imple...
#define TEST_PROLOG(argc, argv)