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 = os.path.basename(pdb)
            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:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: pytorch/text
Commit Name: 6f930eb8de936482f321ac123e020fd08dd07a4b
Time: 2017-09-14
Author: bryan.mccann.is@gmail.com
File Name: torchtext/datasets/imdb.py
Class Name: IMDB
Method Name: download


Project Name: metagenome-atlas/atlas
Commit Name: 73f1f796ed275d1f41c7e15d5288f41a0711a1a5
Time: 2019-04-08
Author: silas.kieser@gmail.com
File Name: atlas/rules/predict_genes_of_genomes.py
Class Name:
Method Name: predict_genes_genomes