Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchute committed Jul 13, 2023
1 parent ae03ec8 commit f76abbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion thermalnetwork/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ def get_connected_features(self, geojson_data):
'type': feature['properties']['type'],
'name': feature['properties'].get('name', ''),
'properties': {k: v for k, v in feature['properties'].items() if k not in [':type', ':name']},
'start_loop': 'true' if feature_id == startloop_feature_id else None
'start_loop': 'true' if feature_id == startloop_feature_id else None,
'district_system_type': feature['properties'].get('district_system_type', '')
})

return connected_objects
Expand Down

0 comments on commit f76abbf

Please sign in to comment.