arup-group / elara

Command line utility for processing MATSim events output files.
MIT License
14 stars 4 forks source link

Wrap path in str when checking for experienced inside #178

Closed andkay closed 2 years ago

andkay commented 2 years ago

We issue a helpful warning when users say they are using experienced plans but the word "experienced" is not in the file path.

Current behavior: when using the cli this check causes an error -- the input path is stored as POSIX path (not iterable) rather than string, so the check cannot be completed.

Proposed fix: coerce the input plans path to string when checking for patterns.

Theodore-Chatziioannou commented 2 years ago

seems to be working now - thanks