parameters: (self)
docstring: Gets the version string
docstring_summary: Gets the version string
docstring_tokens: Gets the version string
function: def minor_version(self):
          """
          Gets the version string
          """
  
          # this will obtain the version string from the "version.sh" file which
          # is the central point of configuration
          version_file = os.path.join(os.path.dirname(__file__), "version.sh")
          with open(version_file, "r") as file:
              version_txt = file.read()
              rm = re.search(r"KLAYOUT_VERSION\s*=\s*\"(.*?)\.(.*?)(\..*)?\".*", version_txt)
              if rm:
                  version_string = rm.group(2)
                  return version_string
  
          raise RuntimeError("Unable to obtain version string from version.sh")
function_tokens: def minor_version ( self ) : # this will obtain the version string from the "version.sh" file which # is the central point of configuration version_file = os . path . join ( os . path . dirname ( __file__ ) , "version.sh" ) with open ( version_file , "r" ) as file : version_txt = file . read ( ) rm = re . search ( r"KLAYOUT_VERSION\s*=\s*\"(.*?)\.(.*?)(\..*)?\".*" , version_txt ) if rm : version_string = rm . group ( 2 ) return version_string raise RuntimeError ( "Unable to obtain version string from version.sh" )