Skip to content

Commit

Permalink
updating readme and script description
Browse files Browse the repository at this point in the history
  • Loading branch information
djarecka committed Jun 20, 2024
1 parent d95ea5f commit 77aac12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ and then manually curated in order to support all the reproschema feature.
### Release
Upon release, there are additional formats, `jsonsld`, `turtle`, `n-triples`
and `pydantic` that are created using `LinkML` tools, `reproschema-py`,
and reproschema-specific script for the `pydantic` format.
and [reproschema-specific script](./scripts/fix_pydantic.py) to "fix" the `pydantic` format.
The entire process is automated in the GitHub Action Workflow:
[Validate and Release](.github/workflows/validate_and_release.yml).
This workflow must be manually triggered by the core developers once a new release is ready.
Expand Down
6 changes: 5 additions & 1 deletion scripts/fix_pydantic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
""" Using ast transformer to fix issues with automatic pydantic generation"""
""" Using ast transformer to fix issues with automatic pydantic generation
Currently the main issue is with the LangString representation in the pydantic
model, I'm changing it to Dict[str, str].
Perhaps in the future this script will not be required.
"""

import ast
import sys
Expand Down

0 comments on commit 77aac12

Please sign in to comment.