Skip to content

Commit

Permalink
Merge branch 'main' into add-oak
Browse files Browse the repository at this point in the history
  • Loading branch information
cmungall committed Jun 9, 2022
2 parents 5f9b2c5 + aebaad3 commit 0e4b9f1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 29 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This is a toolkit that assists with:

These can be composed together. For example, run `tsvs2linkml` followed by `annotate-enums`

The toolkit is still experimental. It is intended as an aid to schema creation rather than act as a formal conversion
tool
The toolkit is still experimental. It is intended as an aid to schema creation rather than as a formal conversion
tool.

[Full Documentation](https://linkml.io/schema-automator/)
[Full Documentation](https://linkml.io/schema-automator/)
31 changes: 6 additions & 25 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
schemauto = "schema_automator.cli:main"
tsv2linkml = "schema_automator.importers.csv_import_engine:tsv2model"
tsvs2linkml = "schema_automator.importers.csv_import_engine:tsvs2model"
enum_annotator = "schema_automator.annotators.enum_annotator:enum_annotator"
enums_to_curateable = "schema_automator.annotators.enums_to_curateable:enums_to_curateable"
curated_to_enums = "schema_automator.annotators.curated_to_enums:curated_to_enums"
Expand Down
2 changes: 1 addition & 1 deletion schema_automator/generalizers/csv_data_generalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ def tsv2model(tsvfile, output, separator, class_name, schema_name, **kwargs):
@click.argument('tsvfiles', nargs=-1) # input TSV (must have column headers
@click.option('--output', '-o', help='Output file')
@click.option('--schema_name', '-n', default='example', help='Schema name')
@click.option('--sep', '-s', default='\t', help='separator')
@click.option('--file_separator', '-s', default='\t', help='separator')
@click.option('--downcase-header/--no-downcase-header', default=False, help='if true make headers lowercase')
@click.option('--infer-foreign-keys/--no-infer-foreign-keys', default=False, help='infer ranges/foreign keys')
@click.option('--enum-columns', '-E', multiple=True, help='column(s) that is forced to be an enum')
Expand Down

0 comments on commit 0e4b9f1

Please sign in to comment.