Skip to content

Commit

Permalink
Merge pull request #646 from alliance-genome/fix_agms
Browse files Browse the repository at this point in the history
Added code to lowercase ALL pages SCRUM-2735
  • Loading branch information
oblodgett authored Mar 20, 2023
2 parents 242d1cb + c70f5c8 commit 8f28d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etl/affected_genomic_model_etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def cross_ref_process(self, agm_record):
# some pages collection have 0 elements
if pages is not None and len(pages) > 0:
for page in pages:
if page in ['Fish', 'genotype', 'strain']:
if page.lower() in ['fish', 'genotype', 'strain']:
cross_ref = self.etlh.rdh2.return_url_from_key_value(
prefix, local_crossref_id, alt_page=page)
return cross_ref
Expand Down

0 comments on commit 8f28d21

Please sign in to comment.