f110fcf71c790cb8894a450c0ab2eaf3d22866dd,prody/database/dali.py,,searchDali,#Any#Any#Any#Any#,23

Before Change


            atoms = parsePDB(pdb)
            chain_set = set(atoms.getChids())
            // pdbId = "s001"
            pdbId = ".".join(pdb.split(os.sep)[-1].split(".")[0:-1])
            if not chain in chain_set:
                raise ValueError("input PDB file does not have chain " + chain)
            
            if len(chain_set) > 1:

After Change


            filename, ext = os.path.splitext(filename)
            if ext.lower() == ".gz":
                filename2, ext2 = os.path.splitext(filename)
                if ext2.lower() == ".pdb":
                    filename = filename2
            pdbId = filename
            if not chain in chain_set:
                raise ValueError("input PDB file does not have chain " + chain)
            
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: prody/ProDy
Commit Name: f110fcf71c790cb8894a450c0ab2eaf3d22866dd
Time: 2018-09-20
Author: shz66@pitt.edu
File Name: prody/database/dali.py
Class Name:
Method Name: searchDali


Project Name: cve-search/cve-search
Commit Name: 0f2d4db89845b9fe748bb8df19c166ebc937c930
Time: 2020-08-11
Author: paul.tikken@gmail.com
File Name: sbin/db_mgmt_cpe_dictionary.py
Class Name: CPEDownloads
Method Name: download_site


Project Name: cve-search/cve-search
Commit Name: 0f2d4db89845b9fe748bb8df19c166ebc937c930
Time: 2020-08-11
Author: paul.tikken@gmail.com
File Name: sbin/db_mgmt_json.py
Class Name: CVEDownloads
Method Name: download_site