We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As a user, I'd like a one-method way of checking if a network has managed lanes
Idea for implementation
@staticmethod def has_managed_lanes(links_df: GeoDataFrame) -> bool: ml_lanes_attributes = [ i for i in links_df.columns.values.tolist() if i.lower().startswith("ml_lanes") ] if not ml_lanes_attributes: WranglerLogger.info("No managed lanes attributes found.") return False if links_df[ml_lanes_attributes].any() is not 0: WranglerLogger.info( "Max number of managed lanes is zero ({}).".format( links_df[ml_lanes_attributes].max() ) ) return False return True
The text was updated successfully, but these errors were encountered:
Addressed in merged PR
Sorry, something went wrong.
e-lo
Successfully merging a pull request may close this issue.
As a user, I'd like a one-method way of checking if a network has managed lanes
Idea for implementation
The text was updated successfully, but these errors were encountered: