oplus/configuration.py
def eplus_version(self):
        """
        if _eplus_version is defined => _eplus_version
        else most recent eplus available version
        """
        # check energy plus is installed
        if len(self.eplus_available_versions) == 0:
            raise RuntimeError("Energy plus is not install, can't use oplus package.")

        # see if version is defined
        if self._eplus_version is not None:
            return self._eplus_version

        # return most recent version
        return sorted(self.eplus_available_versions.keys(), reverse=True)[0]
def eplus_version(self):
        # check energy plus is installed
        if len(self.eplus_available_versions) == 0:
            raise RuntimeError("Energy plus is not install, can't use oplus package.")

        # see if version is defined
        if self._eplus_version is not None:
            return self._eplus_version

        # return most recent version
        return sorted(self.eplus_available_versions.keys(), reverse=True)[0]
def eplus_version ( self ) : # check energy plus is installed if len ( self . eplus_available_versions ) == 0 : raise RuntimeError ( "Energy plus is not install, can't use oplus package." ) # see if version is defined if self . _eplus_version is not None : return self . _eplus_version # return most recent version return sorted ( self . eplus_available_versions . keys ( ) , reverse = True ) [ 0 ]
if _eplus_version is defined => _eplus_version
        else most recent eplus available version
if _eplus_version is defined = > _eplus_version else most recent eplus available version