original_docstring:  Read the PDB-formatted input file and return a structure 
docstring: Read the PDB-formatted input file and return a structure
docstring_tokens: Read the PDB - formatted input file and return a structure
code: def read_input():
      """ Read the PDB-formatted input file and return a structure """
      from Bio.PDB import PDBParser
      while True:
          try:
              input_file=str(input('PDB Filename:'))
              parser=PDBParser()
              structure=parser.get_structure("sample",input_file)
              break
          except:
              print('Invalid Filename, Please Try Again')
              continue
      return structure
code_tokens: def read_input ( ) : from Bio . PDB import PDBParser while True : try : input_file = str ( input ( 'PDB Filename:' ) ) parser = PDBParser ( ) structure = parser . get_structure ( "sample" , input_file ) break except : print ( 'Invalid Filename, Please Try Again' ) continue return structure
short_docstring: Read the PDB-formatted input file and return a structure
short_docstring_tokens: Read the PDB - formatted input file and return a structure
comment: """ Read the PDB-formatted input file and return a structure """