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

Function addDataProcessing

src/pyOpenMS/pyTOPP/common.py:6–14  ·  view source on GitHub ↗
(obj, params, action)

Source from the content-addressed store, hash-verified

4import pprint
5
6def addDataProcessing(obj, params, action):
7 if isinstance(obj, pms.MSExperiment):
8 result = pms.MSExperiment()
9 for spec in obj:
10 spec = _addDataProcessing(spec, params, action)
11 result.addSpectrum(spec)
12 else:
13 result = _addDataProcessing(obj, params, action)
14 return result
15
16def _addDataProcessing(item, params, action):
17 dp = item.getDataProcessing()

Callers 6

alignFunction · 0.90
run_peak_pickerFunction · 0.90
mainFunction · 0.90
id_mapperFunction · 0.90
linkFunction · 0.90

Calls 3

addSpectrumMethod · 0.95
_addDataProcessingFunction · 0.85
MSExperimentMethod · 0.80

Tested by

no test coverage detected