biobb_model/model/fix_pdb_utils.py
3
F821:
undefined name 'first_cap_only' (and 2 similar)
Undefined name 'first_cap_only':
516
atom
.
element
=
first_cap_only
(
atom
.
element
)
Undefined name 'guess_name_element':
519
atom
.
element
=
guess_name_element
(
atom
.
name
)
Undefined name 'references':
827
reference
=
references
[
uniprot_id
]
3
E721:
do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`
120
if
type
(
self
)
!=
type
(
other
):
244
if
type
(
new_chain
)
==
str
:
742
if
type
(
forced_references
)
==
str
:
2
W504:
line break after binary operator
132
self
.
name
==
other
.
name
and
133
self
.
number
==
other
.
number
and