Skip to content

Commit

Permalink
Dataprovider refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
VarunReddy1111 committed Jan 13, 2025
1 parent c70072d commit bcae941
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import org.alliancegenome.curation_api.constants.VocabularyConstants;
import org.alliancegenome.curation_api.model.entities.AffectedGenomicModel;
import org.alliancegenome.curation_api.model.entities.Allele;
import org.alliancegenome.curation_api.model.entities.DataProvider;
import org.alliancegenome.curation_api.model.entities.Organization;
import org.alliancegenome.curation_api.model.entities.Vocabulary;
import org.alliancegenome.curation_api.model.entities.VocabularyTerm;
import org.alliancegenome.curation_api.resources.TestContainerResource;
Expand Down Expand Up @@ -61,7 +61,7 @@ public void init() {
private void loadRequiredEntities() throws Exception {
Vocabulary nameTypeVocabulary = getVocabulary(VocabularyConstants.NAME_TYPE_VOCABULARY);
VocabularyTerm symbolNameType = getVocabularyTerm(nameTypeVocabulary, "nomenclature_symbol");
DataProvider dataProvider = createDataProvider("ZFIN", false);
Organization dataProvider = getOrganization("ZFIN");
allele = createAllele(alleleCurie, alleleCurie, "NCBITaxon:7955", symbolNameType, false, dataProvider);
agm = getAffectedGenomicModel(agmCurie);
}
Expand Down

0 comments on commit bcae941

Please sign in to comment.