Skip to content

Errors in getNPIData.py #865

@annawendler

Description

@annawendler

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

  • Attached labels, especially loc:: or model:: labels.
  • Linked to project

Metadata

Metadata

Assignees

Labels

class::bugBugs found in the softwareloc::data handlingThis issue concerns any kind of data handling.

Type

No type

Projects

Status

🏗 Development

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions