open-sdg / sdg-build

Python package to convert SDG-related data and metadata between formats
MIT License
5 stars 23 forks source link

Allow schema_file parameter to work #210

Closed brockfanning closed 3 years ago

brockfanning commented 3 years ago

This fixes a regression bug in 1.3.0-dev, which is preventing the "schema_file" config option from working. This bug probably was not obvious because in most cases with Open SDG the schema_file is set to the default, which is "_prose.yml". But the schema_file config option is supposed to be able to specify a different file name. For example, we're supposed to be able to rename it to "foo.yml" and then set schema_file: foo.yml in the data config. This PR is to restore that functionality, which got broken by a recent PR.