Skip to content

v0.2.0-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@e-lo e-lo released this 16 Sep 19:39
f90149e

Adds feature to allow network manipulation via a hybrid project card (i.e. my_project.wrangler or project.wr) which is formatted with YAML front-matter surrounded by bounding lines (i.e. ---) followed by python code which acts as on the RoadwayNetwork instance. Category field must be Calculated Roadway. Lines which bound the YAML component must be identical.

Example file:

----
Category: Calculated Roadway
Project: My awesome roadway project to make 
----

self.links_df.loc[self.links_df['lanes'] == 4, 'lanes'] = 12