Skip to content

Commit

Permalink
continue filling in site, geocode directories
Browse files Browse the repository at this point in the history
  • Loading branch information
danvk committed Oct 20, 2024
1 parent 3956aba commit 12716a8
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 234 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2etest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
tar -xzf geocache.tgz
- name: Run geocoder
run: |
poetry run ./generate-geocodes.py --ids_filter test/random200-ids.txt --images_ndjson data/images.ndjson --output_format id-location.txt --geocode > test/random200-geocoded.txt 2> test/random200.logs.txt
poetry run oldnyc/geocode/geocodes.py --ids_filter test/random200-ids.txt --images_ndjson data/images.ndjson --output_format id-location.txt --geocode > test/random200-geocoded.txt 2> test/random200.logs.txt
- name: Check for diffs
run: |
git diff --exit-code test/
Expand Down
230 changes: 0 additions & 230 deletions generate_js.py

This file was deleted.

2 changes: 1 addition & 1 deletion grid/gold.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

from dotenv import load_dotenv

import geocoder
from nyc.boroughs import PointToBorough
from oldnyc.geocode import geocoder


# See http://stackoverflow.com/a/20007730/388951
Expand Down
Empty file modified oldnyc/geocode/generate_js.py
100755 → 100644
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
import coders.gpt
import coders.milstein
import coders.nyc_parks
import geocoder
from coders.types import Coder, Locatable, Location
from oldnyc.geocode import generate_js
from oldnyc.geocode import generate_js, geocoder
from oldnyc.item import Item, load_items

CODERS: dict[str, Callable[[], Coder]] = {
Expand Down
File renamed without changes.

0 comments on commit 12716a8

Please sign in to comment.