Skip to content

Commit bab86ff

Browse files
authored
Merge branch 'master' into issue55
2 parents 0cc0e36 + afeabef commit bab86ff

5 files changed

Lines changed: 2845 additions & 25 deletions

File tree

pdb2sql/StructureSimilarity.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,8 @@ def get_xyz_zone_backbone(pdb_file, resData, return_not_in_zone=False, name=['C'
978978
pdb_file (str): filename containing the pdb of the molecule
979979
resData (dict): information about the zone residues
980980
return_not_in_zone (bool, optional): Do we return the
981-
backbone atoms not in the zone.
981+
backbone atoms not in the zone and the chains used
982+
in the zone.
982983
983984
Returns:
984985
list(float): XYZ of of backbone atoms in the zone.
@@ -1025,7 +1026,7 @@ def get_data_zone_backbone(pdb_file, resData, return_not_in_zone=False, name=['C
10251026
pdb_file (str): filename containing the pdb of the molecule
10261027
resData (dict): information about the zone residues
10271028
return_not_in_zone (bool, optional): Do we return the atoms
1028-
not in the zone
1029+
not in the zone and the chains used in the zone
10291030
10301031
Returns:
10311032
set(float): data of the backbone atoms in the zone

pdb2sql/pdb2sqlcore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ def get(self, columns, tablename='ATOM', **kwargs):
569569

570570
# empty data
571571
if len(data) == 0:
572-
warnings.warn('SQL query get an empty')
572+
# warnings.warn('SQL query get an empty')
573573
return data
574574

575575
# fix the python <--> sql indexes

0 commit comments

Comments
 (0)