MCPcopy Create free account
hub / github.com/PyWavelets/pywt / read

Method read

util/authors.py:202–208  ·  view source on GitHub ↗
(self, command, *a, **kw)

Source from the content-addressed store, hash-verified

200 return p.stdout
201
202 def read(self, command, *a, **kw):
203 p = self._call(command, a, {"stdout": subprocess.PIPE},
204 call=False, **kw)
205 out, err = p.communicate()
206 if p.returncode != 0:
207 raise RuntimeError(f"{self.executable} failed")
208 return out
209
210 def readlines(self, command, *a, **kw):
211 out = self.read(command, *a, **kw)

Callers 4

readlinesMethod · 0.95
preprocess_notebooksFunction · 0.80
__init__Method · 0.80
getMethod · 0.80

Calls 1

_callMethod · 0.95

Tested by

no test coverage detected