Is seems to be possible for the entries requires_virus and requires_medication of protocol procedures to be missing. In that case the type becomes a str which makes it incomparable in lines ~109 and ~127 (requires_virus > 0).
I fixed this by assuming 0 if '' but a proper fix would:
change all incorrect entries (replace '' with 0)
don't allow missing entries for requires_virus and requires_medication
Is seems to be possible for the entries `requires_virus` and `requires_medication` of protocol procedures to be missing. In that case the type becomes a `str` which makes it incomparable in lines ~109 and ~127 (`requires_virus > 0`).
I fixed this by assuming `0` if `''` but a proper fix would:
- change all incorrect entries (replace `''` with `0`)
- don't allow missing entries for `requires_virus` and `requires_medication`
Is seems to be possible for the entries
requires_virus
andrequires_medication
of protocol procedures to be missing. In that case the type becomes astr
which makes it incomparable in lines ~109 and ~127 (requires_virus > 0
).I fixed this by assuming
0
if''
but a proper fix would:''
with0
)requires_virus
andrequires_medication
This is now fixed.
A missing value is replace with
0
either when adding the procedure or when checking (to replace current missing values)