MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / write

Method write

SLiCAP/schematic/logfile.py:30–43  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

28 self._stream = stream
29
30 def write(self, s):
31 st = self._stream
32 if st is not None:
33 try:
34 st.write(s)
35 except Exception:
36 pass
37 if _logfile is not None:
38 try:
39 _logfile.write(s)
40 _logfile.flush()
41 except Exception:
42 pass
43 return len(s)
44
45 def flush(self):
46 st = self._stream

Callers 15

_write_project_configFunction · 0.80
_write_main_configFunction · 0.80
specs2csvFunction · 0.80
_parseKiCADnetlistFunction · 0.80
_kicadNetlistFunction · 0.80
backAnnotateSchematicFunction · 0.80
getOPidMethod · 0.80
getOPvgMethod · 0.80
getSv_inoiseMethod · 0.80
ngspice2tracesFunction · 0.80
_writeFileFunction · 0.80
_crop_svgFunction · 0.80

Calls 1

flushMethod · 0.80

Tested by

no test coverage detected