Skip to content

Commit

Permalink
please work (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
thurber authored Sep 24, 2022
1 parent 6ea7bef commit d1ebb1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mosartwmpy/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.3"
__version__ = "0.4.4"
2 changes: 2 additions & 0 deletions mosartwmpy/tests/test_calculate_water_constraints_by_farm.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
class CalculateWaterConstraintsByFarmTest(unittest.TestCase):

GRID_FILE = pkg_resources.resource_filename('mosartwmpy', 'tests/grid.zip')
OUTPUT_PATH = pkg_resources.resource_filename('mosartwmpy', 'tests')
CONFIG_FILE = pkg_resources.resource_filename('mosartwmpy', 'tests/test_config.yaml')
RUNOFF_FILE = pkg_resources.resource_filename('mosartwmpy', 'tests/runoff_1981_01_01.nc')
DEMAND_FILE = pkg_resources.resource_filename('mosartwmpy', 'tests/demand_1981_01_01.nc')
Expand All @@ -28,6 +29,7 @@ def test_calculate_water_constraints_by_farm(self):
model.initialize(self.CONFIG_FILE, grid=grid)

# set paths for runoff data relative to package
model.config['simulation.output_path'] = self.OUTPUT_PATH
model.config['runoff.path'] = self.RUNOFF_FILE
model.config['water_management.demand.path'] = self.DEMAND_FILE
model.config['water_management.reservoirs.parameters.path'] = self.RESERVOIRS_FILE
Expand Down

0 comments on commit d1ebb1b

Please sign in to comment.