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

Method write

src/openms/source/FORMAT/XTandemInfile.cpp:53–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 XTandemInfile::~XTandemInfile() = default;
52
53 void XTandemInfile::write(const String& filename, bool ignore_member_parameters, bool force_default_mods)
54 {
55 if (!File::writable(filename))
56 {
57 throw (Exception::UnableToCreateFile(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, filename));
58 }
59 force_default_mods_ = force_default_mods;
60 ofstream os(filename.c_str());
61 writeTo_(os, ignore_member_parameters);
62 return;
63 }
64
65 String XTandemInfile::convertModificationSet_(const set<ModificationDefinition>& mods, map<String, double>& affected_origins) const
66 {

Callers 15

create_header_sourcesFunction · 0.45
create_source_sourcesFunction · 0.45
create_sourcesFunction · 0.45
to_cdash_xmlMethod · 0.45
pxd_text_printoutFunction · 0.45
writeConsensusHeaderFunction · 0.45
main_Method · 0.45
parseMascotResponse_Method · 0.45
downloadMethod · 0.45
writeNextMethod · 0.45
compressTrieDBMethod · 0.45
generateTrieDBMethod · 0.45

Calls

no outgoing calls

Tested by 2

compressTrieDBMethod · 0.36
generateTrieDBMethod · 0.36