NTD-Modelling-Consortium / ntd-model-sch

NTD SCH model
MIT License
0 stars 6 forks source link

Fix type errors #66

Closed thk123 closed 2 months ago

thk123 commented 2 months ago

When running in the cluster, these type errors were preventing reticulate from loading the module. I don't really understand why, but there is no harm in fixing these issues.

This is not all of the type errors in the code (there are over 200) but it is enough for the module to load. The others seemed potentially more difficult to fix, but we should still do that and then turn on a static type checker in CI.

Fixes NTD-Modelling-Consortium/EndGame-Project#89

thk123 commented 2 months ago

@mattg3004 @tlestang whichever of you sees this first, would I be able to get a review on this - for some reason when importing this python module using R on the cluster it does some type checking which fails due to these problems.