From 10d89fdc74b193fc51102d0c6d8aee68b9a2bbcd Mon Sep 17 00:00:00 2001 From: Sijia Wang Date: Sun, 26 Sep 2021 20:48:13 -0400 Subject: [PATCH] version 12: update project cards for SamTrans new stops' fare zones --- ...SamTrans-route-393-new-stop-node-farezones.wrangler | 5 +++-- .../SamTrans-route-393-new-stop-zone.wrangler | 10 ---------- ...SamTrans-route-459-new-stop-node-farezones.wrangler | 5 +++-- .../SamTrans-route-459-new-stop-zone.wrangler | 10 ---------- 4 files changed, 6 insertions(+), 24 deletions(-) delete mode 100644 project_cards/SamTrans-route-393-new-stop-zone.wrangler delete mode 100644 project_cards/SamTrans-route-459-new-stop-zone.wrangler diff --git a/project_cards/SamTrans-route-393-new-stop-node-farezones.wrangler b/project_cards/SamTrans-route-393-new-stop-node-farezones.wrangler index c2f33b30..5268ac65 100644 --- a/project_cards/SamTrans-route-393-new-stop-node-farezones.wrangler +++ b/project_cards/SamTrans-route-393-new-stop-node-farezones.wrangler @@ -1,9 +1,10 @@ --- -project: SamTrans Route 120 new stop nodes farezone assignment +project: samtrans route 120 new stop nodes farezone assignment category: Add Transit tags: - 'Minor Transit' -dependencies: '' +dependencies: + prerequisites: ['year 2015 samtrans route 120 edits'] --- self.feed.stops.loc[self.feed.stops.stop_id.astype(int).isin([101523872,101545076,101503345,101519909,101504028,101514714,101506746]), 'zone_id'] = '1' diff --git a/project_cards/SamTrans-route-393-new-stop-zone.wrangler b/project_cards/SamTrans-route-393-new-stop-zone.wrangler deleted file mode 100644 index abadb8be..00000000 --- a/project_cards/SamTrans-route-393-new-stop-zone.wrangler +++ /dev/null @@ -1,10 +0,0 @@ ---- -project: samtrans route 120 add zone_id for new stops -category: Add Transit -tags: - - 'Minor Transit' -dependencies: - prerequisites: ['year 2015 samtrans route 120 edits'] ---- - -self.feed.stops.loc[self.feed.stops.model_node_id.isin(["1523872","1545076","1503345","1519909","1504028","1514714","1506746"]), 'zone_id'] = "1" diff --git a/project_cards/SamTrans-route-459-new-stop-node-farezones.wrangler b/project_cards/SamTrans-route-459-new-stop-node-farezones.wrangler index 0ca90ee2..f9964089 100644 --- a/project_cards/SamTrans-route-459-new-stop-node-farezones.wrangler +++ b/project_cards/SamTrans-route-459-new-stop-node-farezones.wrangler @@ -1,9 +1,10 @@ --- -project: SamTrans Route ECR new stop nodes farezone assignment +project: samtrans route ecr new stop nodes farezone assignment category: Add Transit tags: - 'Minor Transit' -dependencies: '' +dependencies: + prerequisites: ['year 2015 samtrans route ecr edits'] --- self.feed.stops.loc[self.feed.stops.stop_id.astype(int).isin([102036044,101511493,101516920,101525498,101516256,101513094,101513976,101528479,101529690,101529454,101519622,101513122,101514054,101543182,101512385,101534620,101503246,101537667,101538028,101526122,101519051,101503077,101508313,101508126,101537888,101519350,101516319,101509775,101536669]), 'zone_id'] = '1' diff --git a/project_cards/SamTrans-route-459-new-stop-zone.wrangler b/project_cards/SamTrans-route-459-new-stop-zone.wrangler deleted file mode 100644 index d1013e8f..00000000 --- a/project_cards/SamTrans-route-459-new-stop-zone.wrangler +++ /dev/null @@ -1,10 +0,0 @@ ---- -project: samtrans route ecr add zone_id for new stops -category: Add Transit -tags: - - 'Minor Transit' -dependencies: - prerequisites: ['year 2015 samtrans route ecr edits'] ---- - -self.feed.stops.loc[self.feed.stops.model_node_id.astype(int).isin([2036044,1511493,1516920,1525498,1516256,1513094,1513976,1528479,1529690,1529454,1519622,1513122,1514054,1543182,1512385,1534620,1503246,1537667,1538028,1526122,1519051,1503077,1508313,1508126,1537888,1519350,1516319,1509775,1536669]), 'zone_id'] = "1"