-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
2,561 additions
and
261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
from django.core.management.base import BaseCommand | ||
from django.conf import settings | ||
from core import models, builders, base_models | ||
import json | ||
import omegaconf | ||
|
||
|
||
class Command(BaseCommand): | ||
help = "Creates all configured apps or overwrites them" | ||
|
||
def handle(self, *args, **options): | ||
|
||
default_ontology = models.Ontology.objects.update_or_create( | ||
name="Internal", | ||
description="An internal ontology for the core system", | ||
) | ||
|
||
ontology = models.Ontology.objects.update_or_create( | ||
name="Gene Ontology", | ||
public_url="https://www.ebi.ac.uk/ols4/ontologies/go", | ||
description="The Gene Ontology (GO) provides a framework and set of concepts for describing the functions of gene products from all organisms.", | ||
) | ||
|
||
entity_kind = models.EntityKind.objects.update_or_create( | ||
ontology=ontology, | ||
name="Axon Initial Segment", | ||
public_url="http://purl.obolibrary.org/obo/GO_0043194" | ||
) | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.