Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
ddooley committed Jan 23, 2025
1 parent f1b861a commit aa7a8e5
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions script/tabular_to_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def write_schema(schema):
schema_view.schema['in_language'] = SCHEMA['in_language'];

# Output the amalgamated content:
JSONDumper().dump(schema_view.schema, w_filename_base + '.json')
JSONDumper().dump(schema_view.schema, w_filename_base + '.json');

return schema_view;

Expand Down Expand Up @@ -536,17 +536,6 @@ def write_locales(locale_schemas):


# ********* Adjust the menu to include this schema and its classes ******
# Creating a JSON file structure which can be loaded directly into DH:
#
# {
# "MIxS": {
# "soil": {
# "name": 'soil',
# "status": "published"
# },
# ... etc
# }
# }
def write_menu(menu_path, schema_folder, schema_view):

schema_name = schema_view.schema['name'];
Expand Down

0 comments on commit aa7a8e5

Please sign in to comment.