Skip to content

Commit

Permalink
Add settings for materials doc building
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamd committed Oct 16, 2020
1 parent ba879e8 commit 0a1aaef
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions emmet-core/emmet/core/settings.py
Expand Up @@ -4,6 +4,7 @@
different modules and packages.
"""
import json
from typing import Dict, List, Optional

import requests
from pydantic import BaseSettings, Field, root_validator
Expand Down Expand Up @@ -43,6 +44,15 @@ class EmmetSettings(BaseSettings):
description="Maximum miller allowed for computing strain direction for maximal piezo response",
)

TAGS_TO_SANDBOXES: Optional[Dict[str, List[str]]] = Field(
None,
description="Mapping of calcuation tags to sandboxes. Any calculation without these tags will be kept as core.",
)

VASP_SPECIAL_TAGS: List[str] = Field(
["LASPH"], description="Special tags to prioritize for VASP Task Documents"
)

class Config:
env_prefix = "emmet_"
extra = "ignore"
Expand Down

0 comments on commit 0a1aaef

Please sign in to comment.