Skip to content

Commit

Permalink
add bash script
Browse files Browse the repository at this point in the history
add bash script for easier use of different custom configs
  • Loading branch information
pizzamann113 committed May 31, 2019
1 parent c7f6644 commit 2d51f3c
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
16 changes: 16 additions & 0 deletions custom_configs/00_city_1.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Nest Config]
MIN_POKEMON_NEST_COUNT = 7
DELETE_OLD_NESTS = True
POKESTOP_POKEMON = True

[Area]
POINT1_LAT = 0.360852
POINT1_LON = 0.925244
POINT2_LAT = 0.446112
POINT2_LON = 0.061136

[Geojson]
GEOJSON_EXTEND = False

[Other]
VERBOSE = True
13 changes: 13 additions & 0 deletions custom_configs/01_city_2.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Nest Config]
MIN_POKEMON_NEST_COUNT = 7
DELETE_OLD_NESTS = False
POKESTOP_POKEMON = True

[Area]
POINT1_LAT = 0.360852
POINT1_LON = 0.925244
POINT2_LAT = 0.446112
POINT2_LON = 0.061136

[Geojson]
GEOJSON_EXTEND = True
11 changes: 11 additions & 0 deletions nest_them_all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# the comments only needed if you use a virtual environment
#. /path/to/your/venv/bin/activate

nest_conf_folder="custom_configs"

for nest_conf in "$nest_conf_folder"/*
do
echo $nest_conf
python analyze_nests.py -c $nest_conf
done
#deactivate

0 comments on commit 2d51f3c

Please sign in to comment.