Skip to content

Validate directory names #418

@barneydobson

Description

@barneydobson

I was running into issues because the directory in which I installed SWMManywhere was this: "C:\Users\thom017\OneDrive - xxxx\Reviews\JOSS_SWMManywhere"

And the dash in the file path name was (I think) what was causing errors when PySWMM tried to parse the "Rain Gages" section of the INP file:

[RAINGAGES]
;;Name           Format    Interval SCF      Source    
;;-------------- --------- ------ ------ ----------
1                INTENSITY 00:05    1        FILE       C:\Users\thom017\OneDrive - xxxx\Reviews\JOSS_SWMManywhere\SWMManywhere_again\SWMManywhere\src\swmmanywhere\defs\storm.dat 1          mm   

After trying this in a different directory, not in the OneDrive, I was able to run everything with no errors.

Originally posted by @meghnathomas in #364

Seems easy to check for in validation around here

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureAdding a new functionality, small or large

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions