MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / pause

Method pause

src/astroprint/printfiles/gcode.py:39–44  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37 super(GcodeMetadataAnalyzer, self).__init__(getPathCallback, loadedCallback)
38
39 def pause(self):
40 super(GcodeMetadataAnalyzer, self).pause()
41
42 if self._gcode is not None:
43 self._logger.debug("Aborting running analysis, will restart when Gcode analyzer is resumed")
44 self._gcode.abort()
45
46 def _analyzeFile(self, filename):
47 path = self._getPathCallback(filename)

Callers

nothing calls this directly

Calls 1

abortMethod · 0.80

Tested by

no test coverage detected