(self, stuff)
| 39 | self.mask = wx.LIST_MASK_IMAGE |
| 40 | |
| 41 | def getText(self, stuff): |
| 42 | if isinstance(stuff, BaseWrapper): |
| 43 | stuff = stuff.item |
| 44 | mult = 1 |
| 45 | if isinstance(stuff, Fit): |
| 46 | mult = floatUnerr(stuff.getDampMultScanRes()) |
| 47 | if mult == 1: |
| 48 | text = '' |
| 49 | else: |
| 50 | text = '{}%'.format(formatAmount((mult - 1) * 100, 3, 0, 0, forceSign=True)) |
| 51 | return text |
| 52 | |
| 53 | def getImageId(self, stuff): |
| 54 | return -1 |
nothing calls this directly
no test coverage detected