parameters: ()
docstring: Installation instructions for GeneMark.
      Please, copy key "gm_key" into users home directory as:
      cp gm_key ~/.gm_key
docstring_summary: Installation instructions for GeneMark.
      Please, copy key "gm_key" into users home directory as:
      cp gm_key ~/.gm_key
docstring_tokens: Installation instructions for GeneMark . Please copy key gm_key into users home directory as : cp gm_key ~ / . gm_key
function: def install_genemark():
      """Installation instructions for GeneMark.
      Please, copy key "gm_key" into users home directory as:
      cp gm_key ~/.gm_key
      """
      import filecmp
      base_genemark_dir = os.path.join(qconfig.LIBS_LOCATION, 'genemark')
      gm_key_fpath = os.path.join(base_genemark_dir, 'gm_keys',
                                  'gm_key_' + ('32' if qconfig.platform_name == 'linux_32' else '64'))
      try:
          gm_key_dst = os.path.expanduser('~/.gm_key')
          if not os.path.isfile(gm_key_dst) or \
              (not filecmp.cmp(gm_key_dst, gm_key_fpath) and os.path.getmtime(gm_key_dst) < os.path.getmtime(gm_key_fpath)):
              shutil.copyfile(gm_key_fpath, gm_key_dst)
          return True
      except:
          return False
function_tokens: def install_genemark ( ) : import filecmp base_genemark_dir = os . path . join ( qconfig . LIBS_LOCATION , 'genemark' ) gm_key_fpath = os . path . join ( base_genemark_dir , 'gm_keys' , 'gm_key_' + ( '32' if qconfig . platform_name == 'linux_32' else '64' ) ) try : gm_key_dst = os . path . expanduser ( '~/.gm_key' ) if not os . path . isfile ( gm_key_dst ) or ( not filecmp . cmp ( gm_key_dst , gm_key_fpath ) and os . path . getmtime ( gm_key_dst ) < os . path . getmtime ( gm_key_fpath ) ) : shutil . copyfile ( gm_key_fpath , gm_key_dst ) return True except : return False