memilio
memilio copied to clipboard
Errors in getNPIData.py
Bug description
- When using fine_resolution=0 the data frame df_npis_combinations_pre is not defined which leads to an error in line 263.
- In line 1425 we define
array_exclusion_diag
using a deepcopy of array exclusion. In line 1428 we want to writearray_exclusion[i, i] = 0
and we get the error "assignment destination is read-only" when using fine_resolution=1.
Version
Linux
To reproduce
For the first bug: Run getNPIData with fine_resolution = 0.
For the second bug: Run getNPIData with fine_resolution = 1.
Relevant log output
No response
Add any relevant information, e.g. used compiler, screenshots.
No response
Checklist
- [X] Attached labels, especially loc:: or model:: labels.
- [X] Linked to project