Skip to content

Commit

Permalink
Merge branch 'hotfix/class-order'
Browse files Browse the repository at this point in the history
  • Loading branch information
pragermh committed Nov 4, 2024
2 parents 94a9713 + d058ea9 commit 8376695
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/db-api-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ SELECT ds.pid AS dataset_pid,
ta.taxon_rank AS "taxonRank",
ta.kingdom,
ta.phylum,
ta.oorder AS "order",
ta.class,
ta.oorder AS "order",
ta.family,
ta.genus,
ta.specific_epithet AS specificepithet,
Expand All @@ -120,7 +120,7 @@ SELECT ds.pid AS dataset_pid,
ta.date_identified AS "dateIdentified",
ta.identification_references AS "identificationReferences",
concat_ws(' '::text, ta.annotation_algorithm, 'annotation against', ta.reference_db::text || ';'::text, 'confidence at lowest specified (ASV portal) taxon:', ta.annotation_confidence) AS "identificationRemarks",
(('By data provider: '::text || oc.previous_identifications::text) || '; By ASV portal: '::text) || concat_ws('|'::text, ta.kingdom, ta.phylum, ta.oorder, ta.class, ta.family, ta.genus, ta.specific_epithet, ta.infraspecific_epithet, ta.otu) AS "previousIdentifications",
(('By data provider: '::text || oc.previous_identifications::text) || '; By ASV portal: '::text) || concat_ws('|'::text, ta.kingdom, ta.phylum, ta.class, ta.oorder, ta.family, ta.genus, ta.specific_epithet, ta.infraspecific_epithet, ta.otu) AS "previousIdentifications",
'' AS "dynamicProperties"
FROM :data_schema.sampling_event se
JOIN :data_schema.occurrence oc ON oc.event_pid = se.pid
Expand Down Expand Up @@ -494,8 +494,8 @@ SELECT ds_asv.dataset_pid,
ta.taxon_rank AS "taxonRank",
ta.kingdom,
ta.phylum,
ta.oorder AS "order",
ta.class,
ta.oorder AS "order",
ta.family,
ta.genus,
ta.specific_epithet AS "specificEpithet",
Expand Down
1 change: 1 addition & 0 deletions molmod/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ requests==2.31.0
urllib3==1.26.18
Werkzeug==3.0.1
WTForms==3.0.1
numpy==1.26.4
pandas==1.5.0
psycopg2-binary==2.9.3
openpyxl==3.0.10
Expand Down

0 comments on commit 8376695

Please sign in to comment.