MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / importFitsThreaded

Method importFitsThreaded

service/port/port.py:100–113  ·  view source on GitHub ↗

:param paths: fits data file path list. :rtype: None

(paths, progress)

Source from the content-addressed store, hash-verified

98
99 @staticmethod
100 def importFitsThreaded(paths, progress):
101 """
102 :param paths: fits data file path list.
103 :rtype: None
104 """
105 pyfalog.debug("Starting import fits thread.")
106
107 def importFitsFromFileWorkerFunc(paths, progress):
108 Port.importFitFromFiles(paths, progress)
109
110 threading.Thread(
111 target=importFitsFromFileWorkerFunc,
112 args=(paths, progress)
113 ).start()
114
115 @staticmethod
116 def importFitFromFiles(paths, progress=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected