-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NER #9
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a Makefile step for the code maintainer to update the envo termlist
'iter-mode' : 'collection', | ||
'article-format' : 'txt_tsv', | ||
'export_format': 'tsv', | ||
'termlist_stopwords': os.path.join(path,'stopwords','stopWords.txt'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see how the mixs json is loaded
The general pattern is
- allow code user to specify their own paths
- get the right defaults with zero configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see how the mixs json is loaded
Could you please guide me to a sample mixs.json file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sample-annotator/sample_annotator/__init__.py
Lines 3 to 5 in bc17c12
MAIN_MODEL_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'model') | |
MAIN_SCHEMA_DIR = os.path.join(MAIN_MODEL_DIR, 'schema') | |
MIXS_SCHEMA = os.path.join(MAIN_SCHEMA_DIR, 'mixs.json') |
So if I get this correct, you want me to add a line in the |
Yes The guiding principle for all repos is that derived files must have provenance and have transparent portable means to recreate |
can you also add a text. See the geo example for guidance. Note that after this PR is merged we will integrate the functionality here:
and add a test to test_sample_info - description: easy to pass TM text
sample:
id: TEST:2
env_broad_scale: terrestrial biome
env_local_scale: ...
must_pass: false
output:
env_broad_scale: ENVO:nnn....
env_local_scale: ...
expected_failures: {} and another harder one: - description: slightly harder TM test
sample:
id: TEST:2
description: my soil sample
must_pass: false
output:
env_medium_scale: ENVO:<ID FOR SOIL>
expected_failures: {} |
made a few edits, thoughts @cmungall ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to await runner on pypi
zipp==3.5.0; python_version >= '3.6' | ||
runner@git+https://github.com/monarch-initiative/runner.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- We need a pypi release (for which I need to decide on name)
- if Pipfile is SOT then this needs to go in Pipfile
settings.ini
based on provided information (path
,ontology
etc.)Addresses #3