Skip to content

Commit

Permalink
Merge pull request #318 from ncats/awmisc_allow_namevalidator_ENV_VAR
Browse files Browse the repository at this point in the history
Allow passages of an environment variable to set names validator search type
  • Loading branch information
ChemMitch authored Feb 2, 2024
2 parents 6c4a1e0 + 09f008d commit 6fb4cfb
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,9 @@ gsrs.validators.substances = [
"configClass" = "SubstanceValidatorConfig",
"parameters"= {
"caseSearchType": "Explicit"
"caseSearchType": ${?SUBSTANCE_NAMES_VALIDATOR_CASE_SEARCH_TYPE}
}
},

{
}, {
"validatorClass" = "ix.ginas.utils.validation.validators.PrimaryRelationshipsValidator",
"newObjClass" = "ix.ginas.models.v1.Substance",
"type" = "PRIMARY"
Expand Down

0 comments on commit 6fb4cfb

Please sign in to comment.