wsp-sag / Lasso

Python package of utilities for Network Wrangler
https://wsp-sag.github.io/Lasso/
Apache License 2.0
5 stars 3 forks source link

[BUG] Export to MetCouncil network types failing with True--> 0/1 #143

Open e-lo opened 2 years ago

e-lo commented 2 years ago

Describe the bug

Truck Access / Auto Access, etc types are set to Bools.

Right now we check for floats first and then set to ints. We should be checking for boolean values before we check floats.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Failing tests

Triggering line of code

Thoughts on resolution

Full stack trace

Environment

Operating system: Context (conda, jupyter, etc): Environment (e.g. output from conda list):