MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / _on_save

Method _on_save

SLiCAP/schematic/window.py:677–683  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

675 self._library.inject_into_component_item()
676
677 def _on_save(self):
678 if self._doc_props.is_subcircuit:
679 self._save_subcircuit()
680 elif self._current_path is None:
681 self._on_save_as()
682 else:
683 self._save_to(self._current_path)
684
685 def _on_save_as(self):
686 if self._doc_props.is_subcircuit:

Callers

nothing calls this directly

Calls 3

_save_subcircuitMethod · 0.95
_on_save_asMethod · 0.95
_save_toMethod · 0.95

Tested by

no test coverage detected