Showing 254 of 254 total issues
Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, pdbblock: str,
Consider simplifying this complex logical expression. Open
Open
if ringcore_first and atom_a.HasProp('_current_is') and not atom_b.HasProp('_current_is'):
ringcore = ai
other = bi
pairing = f'{ringcore}-{other}'
elif ringcore_first and atom_b.HasProp('_current_is') and not atom_a.HasProp('_current_is'):
Consider simplifying this complex logical expression. Open
Open
if isinstance(map, list) and isinstance(map[0], tuple) and isinstance(map[0][0], tuple):
return [(h, f) for h, f in map if f >= 0 and h >= 0]
elif isinstance(map, list) and isinstance(map[0], list):
return [self._remove_negatives(m) for m in map]
elif isinstance(map, list) and isinstance(map[0], dict):
Function __call__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __call__(self,
Function from_pdbblock
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def from_pdbblock(cls,
Function _join_atoms
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _join_atoms(self,
Function _restore_bond
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _restore_bond(self, mol: Chem.RWMol,
Function check_possible_distances
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def check_possible_distances(self, other, possible_map, combined, combined_map, cutoff=2.5):
Function get_mod_FastRelax
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_mod_FastRelax(self,
Function draw
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def draw(mol, color_map, x=200, y=200, **kwargs):
Function relax_with_ED
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def relax_with_ED(cls, pose,
Function _gpm_distance
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _gpm_distance(cls, mols: List[Chem.Mol], confs: [Chem.Conformer], i, j, dummy_w_dummy=True) \
Function from_pdbfile
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def from_pdbfile(cls,
Function _add_bond_regardlessly
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _add_bond_regardlessly(self, mol, first: Chem.Atom, second: Chem.Atom, bond_type, provenance='other_novel'):
Function restrain
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def restrain(self, system: mm.System, pdb: Union[mma.PDBFile, mma.Modeller],
Function _pipe_set_up
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _pipe_set_up(self, output, cutoff, quick, suffix, **kwargs):
Function closest_hit
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def closest_hit(cls, pdb_filenames: List[str],
Function add_neighbors
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def add_neighbors(self, selection: str, comp_id: int = 0, radius: float = 5, style: str = 'hyperball',
Function flatten_trio
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def flatten_trio(self, mol_idx: int, atom_idcs: Tuple[int, int, int],
Function distance_hits
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def distance_hits(cls, pdb_filenames: List[str],