Skip to content

Commit

Permalink
log the invest version string at the end of execution. #1529
Browse files Browse the repository at this point in the history
  • Loading branch information
davemfish committed May 10, 2024
1 parent 135e316 commit 8d2192b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/natcap/invest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import time
from datetime import datetime

import natcap.invest
import numpy
import pandas
import pygeoprocessing
Expand Down Expand Up @@ -169,7 +170,7 @@ def prepare_workspace(
LOGGER.info('Elapsed time: %s',
_format_time(round(time.time() - start_time, 2)))
logging.captureWarnings(False)
LOGGER.info('Execution finished')
LOGGER.info(f'Execution finished; version: {natcap.invest.__version__}')


class ThreadFilter(logging.Filter):
Expand Down

0 comments on commit 8d2192b

Please sign in to comment.