memilio icon indicating copy to clipboard operation
memilio copied to clipboard

Errors in getNPIData.py

Open annawendler opened this issue 1 year ago • 0 comments

Bug description

  1. When using fine_resolution=0 the data frame df_npis_combinations_pre is not defined which leads to an error in line 263.
  2. In line 1425 we define array_exclusion_diag using a deepcopy of array exclusion. In line 1428 we want to write array_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

annawendler avatar Dec 11 '23 08:12 annawendler