original_docstring:  Create an instance of YamboIn from an existing input file
docstring: Create an instance of YamboIn from an existing input file
docstring_tokens: Create an instance of YamboIn from an existing input file
code: def from_file(cls,filename='yambo.in',folder='.'):
          """ Create an instance of YamboIn from an existing input file"""
          instance = cls()
          err = instance.read_file(os.path.join(folder,filename))
          if err: raise FileNotFoundError('Could not read the %s file'%os.path.join(folder,filename))
          return instance
code_tokens: def from_file ( cls , filename = 'yambo.in' , folder = '.' ) : instance = cls ( ) err = instance . read_file ( os . path . join ( folder , filename ) ) if err : raise FileNotFoundError ( 'Could not read the %s file' % os . path . join ( folder , filename ) ) return instance
short_docstring: Create an instance of YamboIn from an existing input file
short_docstring_tokens: Create an instance of YamboIn from an existing input file
comment: """ Create an instance of YamboIn from an existing input file"""