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

Method copy

src/pyOpenMS/tests/unittests/collections_.py:100–102  ·  view source on GitHub ↗

Like dict.copy() but returns a Counter instance instead of a dict.

(self)

Source from the content-addressed store, hash-verified

98 self.update(kwds)
99
100 def copy(self):
101 'Like dict.copy() but returns a Counter instance instead of a dict.'
102 return Counter(self)
103
104 def __delitem__(self, elem):
105 'Like dict.__delitem__() but does not raise KeyError for missing values.'

Callers 14

doCythonCompileFunction · 0.45
setup.pyFile · 0.45
algorithmFunction · 0.45
alignFunction · 0.45
linkFunction · 0.45
testConsensusFeatureFunction · 0.45
testConsensusMapFunction · 0.45
testFeatureMapFunction · 0.45
testMSExperimentFunction · 0.45
testMSSpectrumFunction · 0.45
testMSChromatogramFunction · 0.45
testTargetedExperimentFunction · 0.45

Calls 1

CounterClass · 0.70

Tested by 8

testConsensusFeatureFunction · 0.36
testConsensusMapFunction · 0.36
testFeatureMapFunction · 0.36
testMSExperimentFunction · 0.36
testMSSpectrumFunction · 0.36
testMSChromatogramFunction · 0.36
testTargetedExperimentFunction · 0.36
run_MSExperiment_copyMethod · 0.36