Skip to content

Commit

Permalink
Add alias fields to test configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Feb 10, 2020
1 parent b330437 commit 87e5fdd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/server/config_test.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ index_base_url = http://localhost:5001/optimade
[structures]
band_gap :
_mp_chemsys :

[structures.aliases]
id = task_id
chemical_formula_descriptive = pretty_formula
chemical_formula_reduced = pretty_formula
chemical_formula_anonymous = formula_anonymous
8 changes: 8 additions & 0 deletions tests/server/config_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,13 @@
"band_gap",
"_mp_chemsys"
]
},
"aliases": {
"structures": {
"id": "task_id",
"chemical_formula_descriptive": "pretty_formula",
"chemical_formula_reduced": "pretty_formula",
"chemical_formula_anonymous": "formula_anonymous"
}
}
}

0 comments on commit 87e5fdd

Please sign in to comment.