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

Method findPluginExecutable

src/openms_gui/source/VISUAL/TVToolDiscovery.cpp:250–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248 }
249
250 std::string TVToolDiscovery::findPluginExecutable(const std::string& name)
251 {
252 //TODO: At the moment the usage of subdirectories in the plugin path are not possible
253 //To change that, the tool scanner has to recursively search all directories in the plugin path
254 if (!plugin_params_.exists(name + ":filename"))
255 {
256 return "";
257 }
258 return plugin_path_ + "/" + plugin_params_.getValue(name + ":filename").toString();
259 }
260
261}

Callers 1

runTOPPTool_Method · 0.80

Calls 3

existsMethod · 0.45
toStringMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected