MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / writeConsensusHeader

Function writeConsensusHeader

src/topp/TextExporter.cpp:205–214  ·  view source on GitHub ↗

write the header for exporting consensusXML

Source from the content-addressed store, hash-verified

203
204 // write the header for exporting consensusXML
205 void writeConsensusHeader(SVOutStream& out, const String& what,
206 const String& infile, const String& now,
207 const StringList& add_comments = StringList())
208 {
209 out.write("#" + what + " extracted from " + infile + " on " + now + "\n");
210 for (const String& str : add_comments)
211 {
212 out.write("#" + str + "\n");
213 }
214 }
215
216 // write the header for run data
217 void writeRunHeader(SVOutStream& out)

Callers 1

main_Method · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected