Skip to content
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

Add url to FBbi imaging method ontology #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions pyidr/study_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def __init__(self, pattern, scope, optional=False):
Key('Experiment Description', 'Experiment'),
Key('Experiment Sample Type', 'Experiment'),
Key('Experiment Imaging Method', 'Experiment'),
Key('Experiment Imaging Method Term Accession', 'Experiment'),
Key('Experiment Number', 'Experiment'),
# OPTIONAL_KEYS["Experiment"]
Key('Experiment Data DOI', 'Experiment', optional=True),
Expand All @@ -81,6 +82,7 @@ def __init__(self, pattern, scope, optional=False):
Key('Screen Description', 'Screen'),
Key('Screen Sample Type', 'Screen'),
Key('Screen Imaging Method', 'Screen'),
Key('Screen Imaging Method Term Accession', 'Screen'),
Key('Screen Number', 'Screen'),
Key('Screen Type', 'Screen'),
# OPTIONAL_KEYS["Screen"]
Expand Down Expand Up @@ -330,13 +332,15 @@ class Formatter(object):
]
EXPERIMENT_TECHNOLOGY_PAIRS = [
('Study Type', "%(Study Type)s"),
('Imaging Method', "%(Experiment Imaging Method)s"),
('Imaging Method', "%(Experiment Imaging Method)s "
"http://purl.obolibrary.org/obo/%(Experiment Imaging Method Term Accession)s"),
]
SCREEN_TECHNOLOGY_PAIRS = [
('Study Type', "%(Study Type)s"),
('Screen Type', "%(Screen Type)s"),
('Screen Technology Type', "%(Screen Technology Type)s"),
('Imaging Method', "%(Screen Imaging Method)s"),
('Imaging Method', "%(Screen Imaging Method)s "
"http://purl.obolibrary.org/obo/%(Screen Imaging Method Term Accession)s"),
]
PUBLICATION_PAIRS = [
('Publication Title', "%(Title)s"),
Expand Down