Skip to content

Commit

Permalink
BRAT metadata validation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KellyMWhitehead committed Sep 8, 2021
1 parent 22fb53d commit 2a36388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/brat/sqlbrat/brat_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def brat_build(huc: int, flowlines: Path, dem: Path, slope: Path, hillshade: Pat
# Execute the SQL to create the lookup tables in the output geopackage
watershed_name = create_database(huc, outputs_gpkg_path, db_metadata, cfg.OUTPUT_EPSG, os.path.join(os.path.abspath(os.path.dirname(__file__)), '..', 'database', 'brat_schema.sql'))
# Just for fun add the db metadata back to the xml
project.add_metadata_simple(db_metadata, db_node)
project.add_metadata_simple(db_metadata)

project.add_metadata([RSMeta('Watershed', watershed_name)])

Expand Down

0 comments on commit 2a36388

Please sign in to comment.