updated a comment and a log message. #1551

This commit is contained in:
davemfish 2025-03-28 09:28:40 -04:00
parent 965126f5b3
commit fbf7d37df4
2 changed files with 5 additions and 3 deletions

View File

@ -15,8 +15,9 @@
# ----------------Load Modules--------------------
# ----------------Commands------------------------
CONTAINER=ghcr.io/davemfish/invest:exp.rec-twitter
# If this script is re-used, the user should expect
# to update these values.
CONTAINER=ghcr.io/natcap/invest:3.15.0
TWEETS_DIR=/scratch/users/woodsp/invest/csv
TWEETS_LIST=$SCRATCH/tweets_full_list.txt
find $TWEETS_DIR -name '*.csv' > $TWEETS_LIST

View File

@ -320,7 +320,8 @@ class RecModel(object):
ooc_qt_picklefilename, cache_workspace)
else:
LOGGER.info(
f'{ooc_qt_picklefilename} not found, constructing quadtree')
f'Pickle file {ooc_qt_picklefilename} does not exist, '
f'constructing quadtree from {raw_csv_filename}')
if not os.path.exists(raw_csv_filename):
raise ValueError(f'{raw_csv_filename} does not exist.')
construct_userday_quadtree(