Class ScopFactory


  • public class ScopFactory
    extends Object
    Controls the global ScopDatabase being used.

    Example: Fetch the structure corresponding to an old version of scop

     ScopInstallation scop = new ScopInstallation();
     scop.setScopVersion("1.69");
     ScopFactory.setScopDatabase(scop);
     AtomCache cache = new AtomCache();
     cache.setFetchFileEvenIfObsolete(true); //fetch older PDBs
     cache.setStrictSCOP(false); // correct simple errors in domain names
     Structure s = cache.getStructure("d3hbia_");
     
    Author:
    sbliven