프로젝트

일반

사용자정보

개정판 41f35ea2

ID41f35ea2a31579081191150084ea8894938a3d17
상위 0d12e013
하위 bfaab0f5, d8fd01bf

함의성이(가) 약 4년 전에 추가함

issue #000: fix eq linetracer

Change-Id: If2525dba19d0dcc35e7278ce34d2e4a273ac9b47

차이점 보기:

DTI_PID/DTI_PID/LineNoTracer.py
231 231
                    if updateProgress: updateProgress.emit(self.maxValue)
232 232

  
233 233
                # find secondary lines
234
                lines_and_symbols = self._lines + self._symbols
234
                lines_and_symbols = self._lines + [sym for sym in self._symbols if not issubclass(type(sym), QEngineeringEquipmentItem)]
235 235
                self.find_secondary_lines(lines_and_symbols, include_signal=False)
236 236

  
237 237
                # double check conn line cuz startLine may need at first step
......
257 257
            displayMessage.emit('Unknown line Topology Construction')
258 258
            orphanLines = [line for line in self._lines if line.owner is None]
259 259
            orphanSymbols = [symbol for symbol in self._symbols if
260
                             symbol.owner is None and type(symbol) is not QEngineeringEquipmentItem]
260
                             symbol.owner is None and not issubclass(type(symbol), QEngineeringEquipmentItem)]
261 261
            if orphanLines + orphanSymbols:
262 262
                self.maxValue = len(orphanLines) + 1
263 263
                orphanLines = sorted(orphanLines, key=lambda param: param.length(), reverse=True)

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)