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

Method loadInputFiles_

src/openms/source/FORMAT/OMSFileLoad.cpp:119–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117
118
119 void OMSFileLoad::loadInputFiles_(IdentificationData& id_data)
120 {
121 if (!db_->tableExists("ID_InputFile")) return;
122
123 SQLite::Statement query(*db_, "SELECT * FROM ID_InputFile");
124 while (query.executeStep())
125 {
126 ID::InputFile input(query.getColumn("name").getString(),
127 query.getColumn("experimental_design_id").getString());
128 String primary_files = query.getColumn("primary_files").getString();
129 vector<String> pf_list = ListUtils::create<String>(primary_files);
130 input.primary_files.insert(pf_list.begin(), pf_list.end());
131 ID::InputFileRef ref = id_data.registerInputFile(input);
132 input_file_refs_[query.getColumn("id").getInt64()] = ref;
133 }
134 }
135
136
137 void OMSFileLoad::loadProcessingSoftwares_(IdentificationData& id_data)

Callers

nothing calls this directly

Calls 6

tableExistsMethod · 0.80
getStringMethod · 0.80
registerInputFileMethod · 0.80
insertMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected