Skip to content

Need error message when a residential geojson isn't in a residential project #512

@vtnate

Description

@vtnate

Is your feature request related to a problem? Please describe

If I make a ghe project, and copy in my ghe feature file (which happens to have residnetial buildings included), we error during the run command. The "resources" dir is required for residential buildings, and it rightfully isn't included when creating a ghe project.

The solution you'd like

An error message when running, instead of crashing to a stack trace.

Alternatives you've considered

We could theoretically check when creating a scenario file, but that could also be provided custom by the user. A graceful error message instead of a crash is preferable.

Additional context

The error is raised at this line, so somewhere before that is a good time to check for existence of that dir.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions