original_docstring: 
      Converts an OSIS file to USFM3
      :param osis_file: the OSIS file to be converted to USFM
      :param lexicon:
      :return: a usfm string
      
docstring: Converts an OSIS file to USFM3
docstring_tokens: Converts an OSIS file to USFM3
code: def convertFile(osis_file, lexicon):
      """
      Converts an OSIS file to USFM3
      :param osis_file: the OSIS file to be converted to USFM
      :param lexicon:
      :return: a usfm string
      """
      logger = logging.getLogger(LOGGER_NAME)
      if sys.version_info >= (3,0,0):
          raise Exception('Only python 2.7 is supported')
  
      root = xml.etree.ElementTree.parse(osis_file).getroot()
      try:
          return convertOsis(root, lexicon)
      except Exception as e:
          logger.error('Error while processing {}: {}'.format(osis_file, e))
          return None
code_tokens: def convertFile ( osis_file , lexicon ) : logger = logging . getLogger ( LOGGER_NAME ) if sys . version_info >= ( 3 , 0 , 0 ) : raise Exception ( 'Only python 2.7 is supported' ) root = xml . etree . ElementTree . parse ( osis_file ) . getroot ( ) try : return convertOsis ( root , lexicon ) except Exception as e : logger . error ( 'Error while processing {}: {}' . format ( osis_file , e ) ) return None
short_docstring: Converts an OSIS file to USFM3
short_docstring_tokens: Converts an OSIS file to USFM3
comment: """
      Converts an OSIS file to USFM3
      :param osis_file: the OSIS file to be converted to USFM
      :param lexicon:
      :return: a usfm string
      """