Skip to content
New issue

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

chore:data update #836

Merged
merged 7 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions data/compile.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import logging
import os
from multiprocessing import Process

import processors.areatree.process as areatree
Expand All @@ -19,9 +18,7 @@
structure,
tumonline,
)
from utils import setup_logging

DEBUG_MODE = "GIT_COMMIT_SHA" not in os.environ
from utils import DEBUG_MODE, setup_logging


# pylint: disable=too-many-locals,too-many-statements
Expand Down
2 changes: 2 additions & 0 deletions data/external/models/nat.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ class Room(PydanticConfiguration):
room_identifier: str | None
campus_id: str | None
building_code: str
events_end: str | None # no idea what this is...
events_start: str | None # no idea what this is...
org_id: int | None = None

@classmethod
Expand Down
21 changes: 21 additions & 0 deletions data/external/results/buildings_nat.json
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,27 @@
"building_name": "Bildungscampus L",
"building_short": null
},
{
"address": "Weipertstr. 8-10",
"building_code": "1910",
"building_id": 3189,
"building_name": "Bildungscampus C",
"building_short": null
},
{
"address": "Etzelstr. 38",
"building_code": "1915",
"building_id": 3191,
"building_name": "Bildungscampus/Etzelstr.38",
"building_short": null
},
{
"address": "Weipertstr. 8-10",
"building_code": "1999",
"building_id": 3190,
"building_name": "Containerburg CB",
"building_short": null
},
{
"address": null,
"building_code": "2103",
Expand Down
15 changes: 15 additions & 0 deletions data/external/results/buildings_tumonline.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,21 @@
"filter_id": 2370,
"name": "1902 Bildungscampus L, Bildungscampus 9"
},
{
"area_id": 243,
"filter_id": 3189,
"name": "1910 Bildungscampus C, Weipertstr. 8-10"
},
{
"area_id": 243,
"filter_id": 3191,
"name": "1915 Bildungscampus/Etzelstr.38, Etzelstr. 38"
},
{
"area_id": 243,
"filter_id": 3190,
"name": "1999 Containerburg CB, Weipertstr. 8-10"
},
{
"area_id": 20,
"filter_id": 614,
Expand Down
Loading
Loading