diff --git a/website/raw/FAQ.mkdown b/website/raw/FAQ.mkdown index 7caed4df1c7bbbf438a5e759f07e49eb5d9b5a43..18cdb1afaf32c3da6e0d2d1d5a0053224221cd03 100644 --- a/website/raw/FAQ.mkdown +++ b/website/raw/FAQ.mkdown @@ -18,4 +18,11 @@ The python glob module can be used to match files in a certain directory against import glob pdbs=[] for pdb_file in glob.glob(os.path.join(dir_path, '*.pdb')): - pdbs.append(io.LoadPDB(os.path.join(dir_path, pdb_file))) \ No newline at end of file + pdbs.append(io.LoadPDB(os.path.join(dir_path, pdb_file))) + +**How do I load a crappy PDB file?** + +The easiest way is to use the `fault_tolerant` option of LoadPDB. If you set the value to true, it will load the structure and just skip erroneus records: + + ::::python + ent=io.LoadPDB('pdb_with_errors.pdb', fault_tolerant=True) \ No newline at end of file