Skip to content

Commit

Permalink
Template bug fixes. Bump to 0.4.2 (#23)
Browse files Browse the repository at this point in the history
The commit fixes the following issues:
* Incorrect separators in the output file path in the template MDU file. Linux separators are universal.
* The output directory in the template was not being included in the distributions.
  • Loading branch information
H0R5E authored Jan 28, 2022
1 parent 48c4bd5 commit 93ed5af
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .conda/recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "0.4.1" %}
{% set version = "0.4.2" %}

package:
name: snl-delft3d-cec-verify
Expand Down
7 changes: 5 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = SNL-Delft3D-CEC-Verify
version = 0.4.1
version = 0.4.2
author = Mathew Topper
author_email = [email protected]
description = Automated verification of SNL-Delft3D-CEC based on the 2014 Mycek experiment
Expand Down Expand Up @@ -32,7 +32,10 @@ install_requires =
xarray >=0.20.1

[options.package_data]
snl_d3d_cec_verify = templates/fm/*/*, result/mycek2014/*.yaml
snl_d3d_cec_verify =
templates/fm/input/*
templates/fm/output/.empty
result/mycek2014/*.yaml

[options.packages.find]
where = src
Expand Down
4 changes: 2 additions & 2 deletions src/snl_d3d_cec_verify/templates/fm/input/FlowFM.mdu
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ Wrishp_dryarea = 0 # Write shape file for dry a
Wrishp_enc = 0 # Write shape file for enclosure
Wrishp_src = 0 # Write shape file for sources
Wrishp_pump = 0 # Write shape file for pump
OutputDir = ..\output # Output directory of map-, his-, rst-, dat- and timings-files, default: DFM_OUTPUT_<modelname>. Set to . for current dir.
WAQOutputDir = ..\output # Output directory of WAQ files, default: DFM_DELWAQ_<modelname>. Set to . for current dir.
OutputDir = ../output # Output directory of map-, his-, rst-, dat- and timings-files, default: DFM_OUTPUT_<modelname>. Set to . for current dir.
WAQOutputDir = ../output # Output directory of WAQ files, default: DFM_DELWAQ_<modelname>. Set to . for current dir.
FlowGeomFile = # Flow geometry NetCDF *_flowgeom.nc
ObsFile = # Points file *.xyn with observation stations with rows x, y, station name
CrsFile = # Polyline file *_crs.pli defining observation cross sections
Expand Down

0 comments on commit 93ed5af

Please sign in to comment.