Skip to content

Commit

Permalink
TODO for valid schema + keep default
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Sep 25, 2023
1 parent 7a7efca commit bf1b2a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/haddock3_catalog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Run with
# Reads modules from haddock3 in Python path
./generate_haddock3_catalog.py
# Writes catalog files in public/catalog/ dir

# TODO add command to check JSON schemas are valid.
```

Translations from haddock3 -> i-VRESSE workflow builder:
Expand Down
1 change: 1 addition & 0 deletions packages/haddock3_catalog/generate_haddock3_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ def config2schema(config):
"type": "string",
"format": "chain"
}
prop['default'] = v['default']
else:
raise ValueError(f"Don't know how to determine type of items of {v}")
else:
Expand Down

0 comments on commit bf1b2a7

Please sign in to comment.