def _validate(self): if (self.displayVol == VOLUME_CHIMERA and find_executable(Chimera.getProgram()) is None): return [ "chimera is not available. " "Either install it or choose option 'slices'. " ] return []
def _validate(self): if find_executable(Chimera.getProgram()) is None: return ["chimerax is not available. Either install it or choose" " option 'slices'. "] return []