Skip to content

Conversation

@maxkfranz
Copy link
Member

@maxkfranz maxkfranz commented Oct 8, 2020

  • Make the organism name salient (at the top) in the grounding popover.
  • Add ent.organism() shortcut function to get the Organism an Entity is grounded to (may be null for chemical).
  • Add doc.commonOrganism() to get the most common Organism in a Document -- may be null if no NCBI groundings exist.
  • Add doc.irregularOrganismEntities() to get an array of entities that are grounded to an organism other than the common one.

Refs. :

- Make the organism name salient (at the top) in the grounding popover.
- Add `ent.organism()` shortcut function to get the `Organism` an `Entity` is grounded to (may be null for chemical).
- Add `doc.commonOrganism()` to get the most common `Organism` in a `Document` -- may be null in the case of a tie.
- Add `doc.irregularOrganismEntities()` to get an array of entities that are grounded to an organism other than the common one.

Refs. :

- Grounding: Entity organism preference / mixed organisms for genes #861
- Block users from submitting empty documents #860
@maxkfranz maxkfranz requested a review from jvwong October 8, 2020 17:18
@maxkfranz
Copy link
Member Author

@jvwong, you should be able to use those functions for the submission task list.

@jvwong jvwong merged commit 47c3f16 into unstable Oct 8, 2020
@jvwong jvwong deleted the organism-validation branch October 13, 2020 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants