Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] - map2loop crashes if required fields contain null #138

Open
1 of 4 tasks
lachlangrose opened this issue Sep 18, 2024 · 4 comments
Open
1 of 4 tasks

[Bug] - map2loop crashes if required fields contain null #138

lachlangrose opened this issue Sep 18, 2024 · 4 comments
Assignees
Labels
bug Something isn't working ongoing this is being followed up by the team

Comments

@lachlangrose
Copy link
Member

Version

3.1.12, 0.1.3

Bug Description

@markjessell has tried to make a model from waxi data and map2loop was crashing when the alt_unitname_column contained null values.

Minimal reproducible example

n/a

Expected Behavior

Add a check to make sure the required columns actually contain valid data. If not raise an exception.

Actual Behavior

m2l crashes

Additional Context

No response

Environment

all

Severity

  • Low
  • Medium
  • High
  • Critical
@lachlangrose lachlangrose added the bug Something isn't working label Sep 18, 2024
@AngRodrigues AngRodrigues self-assigned this Nov 21, 2024
@AngRodrigues
Copy link
Member

@lachlangrose @markjessell were the null values just empty cells on the shapefile, or wrong dtype?

@AngRodrigues AngRodrigues added the ongoing this is being followed up by the team label Nov 28, 2024
@markjessell
Copy link

markjessell commented Nov 28, 2024 via email

@lachlangrose
Copy link
Member Author

Empty, from memory - but if they were all empty they may have been the wrong datatype as well!

@AngRodrigues
Copy link
Member

Ok, thanks, I'll have a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ongoing this is being followed up by the team
Projects
None yet
Development

No branches or pull requests

3 participants