Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compose/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ DJANGO_HTTPS_ONLY=False
DJANGO_EMAIL_BACKEND=CONSOLE
ADMIN_URL_PREFIX=c6cbceb2-0592-497b-bd92-5d881a1fae40
PUBMED_API_KEY=8852fcfa8cc0850a16d7e24d21e23f77
CCTE_API_KEY=0468d596fe45f2e7b562318d80b11ea2
EPA_COMPTOX_API_KEY=0468d596fe45f2e7b562318d80b11ea2
HAWC_SESSION_DURATION=604800
HAWC_ANYONE_CAN_CREATE_ASSESSMENTS=True
HAWC_PM_CAN_MAKE_PUBLIC=True
Expand Down
2 changes: 1 addition & 1 deletion hawc/apps/assessment/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def dashboard_url(self) -> str:
return f"https://comptox.epa.gov/dashboard/chemical/details/{self.dtxsid}"

def image_url(self) -> str:
return f"https://api-ccte.epa.gov/chemical/file/image/search/by-dtxsid/{self.dtxsid}"
return f"https://comptox.epa.gov/ctx-api/chemical/file/image/search/by-dtxsid/{self.dtxsid}"


class Assessment(models.Model):
Expand Down
2 changes: 1 addition & 1 deletion hawc/main/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def get_git_commit() -> Commit:
PUBMED_MAX_QUERY_SIZE = 10000

# CCTE API key
CCTE_API_KEY = os.getenv("CCTE_API_KEY")
EPA_COMPTOX_API_KEY = os.getenv("EPA_COMPTOX_API_KEY")

# HERO API key
HERO_API_KEY = os.getenv("HERO_API_KEY")
Expand Down
6 changes: 3 additions & 3 deletions hawc/services/epa/dsstox.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ def create_from_dtxsid(cls, dtxsid: str) -> Self:
return cls.create_fake(dtxsid)
if not re.compile(RE_DTXSID).fullmatch(dtxsid):
raise ValueError(f"Invalid DTXSID: {dtxsid}")
if settings.CCTE_API_KEY is None and settings.IS_TESTING is False:
if settings.EPA_COMPTOX_API_KEY is None and settings.IS_TESTING is False:
raise ValueError("Missing API key")
session = get_session(headers={"x-api-key": settings.CCTE_API_KEY})
session = get_session(headers={"x-api-key": settings.EPA_COMPTOX_API_KEY})
response = session.get(
f"https://api-ccte.epa.gov/chemical/detail/search/by-dtxsid/{dtxsid}",
f"https://comptox.epa.gov/ctx-api/chemical/detail/search/by-dtxsid/{dtxsid}",
timeout=15,
)
response_dict = response.json()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,85 +5,75 @@ interactions:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
- gzip, deflate, zstd
Connection:
- keep-alive
User-Agent:
- hawc
x-api-key:
- <omitted>
method: GET
uri: https://api-ccte.epa.gov/chemical/detail/search/by-dtxsid/DTXSID1020190
uri: https://comptox.epa.gov/ctx-api/chemical/detail/search/by-dtxsid/DTXSID1020190
response:
body:
string: "{\n \"id\" : \"898183\",\n \"msReadySmiles\" : \"OS(=O)(=O)C1=CC2=C(NC(C2=O)C2=NC3=C(C=C(C=C3)S(O)(=O)=O)C2=O)C=C1\",\n
\ \"irisLink\" : null,\n \"pprtvLink\" : null,\n \"descriptorStringTsv\"
: \"0\\t1\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t1\\t0\\t1\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0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\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t1\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t1\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t1\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\",\n
\ \"isMarkush\" : false,\n \"cpdataCount\" : 25,\n \"wikipediaArticle\"
: \"Indigo carmine\",\n \"inchikey\" : \"KHLVKKOJDHCJMG-UHFFFAOYSA-L\",\n
\ \"nhanes\" : null,\n \"toxvalData\" : \"Y\",\n \"waterSolubilityTest\"
: null,\n \"waterSolubilityOpera\" : 0.164899,\n \"viscosityCpCpTestPred\"
: null,\n \"vaporPressureMmhgTestPred\" : null,\n \"vaporPressureMmhgOperaPred\"
: 3.79111E-10,\n \"thermalConductivity\" : null,\n \"tetrahymenaPyriformis\"
: null,\n \"surfaceTension\" : null,\n \"soilAdsorptionCoefficient\" : 39.0955,\n
\ \"oralRatLd50Mol\" : null,\n \"operaKmDaysOperaPred\" : 0.576138,\n \"octanolWaterPartition\"
: 0.962405,\n \"octanolAirPartitionCoeff\" : 9.38377,\n \"meltingPointDegcTestPred\"
: null,\n \"meltingPointDegcOperaPred\" : 228.535,\n \"hrFatheadMinnow\"
: null,\n \"hrDiphniaLc50\" : null,\n \"henrysLawAtm\" : 1.48644E-11,\n
\ \"flashPointDegcTestPred\" : null,\n \"devtoxTestPred\" : null,\n \"density\"
: null,\n \"boilingPointDegcTestPred\" : null,\n \"boilingPointDegcOperaPred\"
: 291.807,\n \"biodegradationHalfLifeDays\" : 15.3519,\n \"bioconcentrationFactorTestPred\"
: null,\n \"bioconcentrationFactorOperaPred\" : 2.42942,\n \"atmosphericHydroxylationRate\"
: 4.84144E-11,\n \"amesMutagenicityTestPred\" : null,\n \"pkaaOperaPred\"
: 3.06,\n \"pkabOperaPred\" : -0.703,\n \"dtxsid\" : \"DTXSID1020190\",\n
string: "{\n \"id\" : 170313,\n \"cpdataCount\" : 25,\n \"inchikey\" : \"KHLVKKOJDHCJMG-UHFFFAOYSA-L\",\n
\ \"wikipediaArticle\" : \"Indigo_carmine\",\n \"dtxsid\" : \"DTXSID1020190\",\n
\ \"dtxcid\" : \"DTXCID801022742\",\n \"casrn\" : \"860-22-0\",\n \"compoundId\"
: 1022742,\n \"genericSubstanceId\" : 20190,\n \"preferredName\" : \"C.I.
Acid Blue 74\",\n \"activeAssays\" : 15,\n \"molFormula\" : \"C16H8N2Na2O8S2\",\n
\ \"monoisotopicMass\" : 465.95174613,\n \"percentAssays\" : 4.0,\n \"pubchemCount\"
: 110,\n \"pubmedCount\" : 836.0,\n \"sourcesCount\" : 60,\n \"qcLevel\"
Acid Blue 74\",\n \"activeAssays\" : 18,\n \"molFormula\" : \"C16H8N2Na2O8S2\",\n
\ \"monoisotopicMass\" : 465.95174613,\n \"percentAssays\" : 5.0,\n \"pubchemCount\"
: 110,\n \"pubmedCount\" : 836.0,\n \"sourcesCount\" : 67,\n \"qcLevel\"
: 1,\n \"qcLevelDesc\" : \"Level 1: Expert curated, highest confidence in
accuracy and consistency of unique chemical identifiers\",\n \"stereo\" :
\"0\",\n \"isotope\" : 0,\n \"multicomponent\" : 1,\n \"totalAssays\" :
353,\n \"toxcastSelect\" : \"15/353\",\n \"pubchemCid\" : 2723854,\n \"relatedSubstanceCount\"
: null,\n \"relatedStructureCount\" : null,\n \"hasStructureImage\" : 1,\n
\ \"iupacName\" : \"Disodium 3-oxo-2-(3-oxo-5-sulfonato-1,3-dihydro-2H-indol-2-ylidene)-2,3-dihydro-1H-indole-5-sulfonate\",\n
363,\n \"toxcastSelect\" : \"18/363\",\n \"pubchemCid\" : 2723854,\n \"relatedSubstanceCount\"
: 2,\n \"relatedStructureCount\" : 1,\n \"hasStructureImage\" : 1,\n \"iupacName\"
: \"Disodium 3-oxo-2-(3-oxo-5-sulfonato-1,3-dihydro-2H-indol-2-ylidene)-2,3-dihydro-1H-indole-5-sulfonate\",\n
\ \"smiles\" : \"[Na+].[Na+].[O-]S(=O)(=O)C1=CC=C2NC(C(=O)C2=C1)=C1NC2=CC=C(C=C2C1=O)S([O-])(=O)=O\",\n
\ \"inchiString\" : \"InChI=1S/C16H10N2O8S2.2Na/c19-15-9-5-7(27(21,22)23)1-3-11(9)17-13(15)14-16(20)10-6-8(28(24,25)26)2-4-12(10)18-14;;/h1-6,17-18H,(H,21,22,23)(H,24,25,26);;/q;2*+1/p-2\\n\",\n
\ \"averageMass\" : 466.35,\n \"qcNotes\" : \"Record was reviewed with Common
Chemistry.\\r\\n\",\n \"qsarReadySmiles\" : \"OS(=O)(=O)C1=CC2=C(NC(C2=O)C2=NC3=C(C=C(C=C3)S(O)(=O)=O)C2=O)C=C1\",\n
\ \"expocatMedianPrediction\" : \"5.44E-03\",\n \"expocat\" : \"Y\"\n}"
Chemistry.\\r\\n\",\n \"qsarReadySmiles\" : null,\n \"msReadySmiles\" :
null,\n \"irisLink\" : null,\n \"pprtvLink\" : null,\n \"descriptorStringTsv\"
: \"0\\t1\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0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\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t1\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t1\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t1\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t1\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t1\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\\t0\",\n
\ \"isMarkush\" : false,\n \"expocatMedianPrediction\" : \"5.44E-03\",\n
\ \"expocat\" : \"Y\",\n \"nhanes\" : \"0\",\n \"toxvalData\" : \"Y\",\n
\ \"waterSolubilityTest\" : null,\n \"waterSolubilityOpera\" : 0.164899,\n
\ \"viscosityCpCpTestPred\" : null,\n \"vaporPressureMmhgTestPred\" : null,\n
\ \"vaporPressureMmhgOperaPred\" : 3.79111E-10,\n \"thermalConductivity\"
: null,\n \"tetrahymenaPyriformis\" : null,\n \"surfaceTension\" : null,\n
\ \"soilAdsorptionCoefficient\" : 39.0955,\n \"oralRatLd50Mol\" : null,\n
\ \"operaKmDaysOperaPred\" : 0.576138,\n \"octanolWaterPartition\" : 0.962405,\n
\ \"octanolAirPartitionCoeff\" : 9.38377,\n \"meltingPointDegcTestPred\"
: null,\n \"meltingPointDegcOperaPred\" : 228.535,\n \"hrFatheadMinnow\"
: null,\n \"hrDiphniaLc50\" : null,\n \"henrysLawAtm\" : 1.48644E-11,\n
\ \"flashPointDegcTestPred\" : null,\n \"devtoxTestPred\" : null,\n \"density\"
: null,\n \"boilingPointDegcTestPred\" : null,\n \"boilingPointDegcOperaPred\"
: 291.807,\n \"biodegradationHalfLifeDays\" : 15.3519,\n \"bioconcentrationFactorTestPred\"
: null,\n \"bioconcentrationFactorOperaPred\" : 2.42942,\n \"atmosphericHydroxylationRate\"
: 4.84144E-11,\n \"amesMutagenicityTestPred\" : null,\n \"pkaaOperaPred\"
: 3.06,\n \"pkabOperaPred\" : -0.703\n}"
headers:
Access-Control-Allow-Origin:
- '*'
Cache-Control:
- max-age=0, must-revalidate, no-transform
Connection:
- keep-alive
- Keep-Alive
Content-Type:
- application/json
Date:
- Thu, 05 Sep 2024 22:58:04 GMT
- Fri, 30 Jan 2026 15:02:52 GMT
Keep-Alive:
- timeout=5, max=1000
Server:
- Apache
Strict-Transport-Security:
- max-age=31536000
- "max-age=63072000; includeSubDomains; preload\xE2\x80\x9C"
Transfer-Encoding:
- chunked
Vary:
- Accept-Encoding
Via:
- 1.1 99baebf4b5bb631267dcfa82456151cc.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- JmvYOAQzL4sAlO2i58vfku19qQ91edOR98tbgnM02sFl_EepPQIhYQ==
X-Amz-Cf-Pop:
- IAD89-C1
X-Cache:
- Miss from cloudfront
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
X-Vcap-Request-Id:
- 552e477e-1e94-4978-507c-3135946f8172
X-Xss-Protection:
- 1; mode=block
- Origin,Access-Control-Request-Method,Access-Control-Request-Headers
status:
code: 200
message: OK
message: ''
version: 1
Original file line number Diff line number Diff line change
Expand Up @@ -5,50 +5,40 @@ interactions:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
- gzip, deflate, zstd
Connection:
- keep-alive
User-Agent:
- hawc
x-api-key:
- <omitted>
method: GET
uri: https://api-ccte.epa.gov/chemical/detail/search/by-dtxsid/DTXSID123456789
uri: https://comptox.epa.gov/ctx-api/chemical/detail/search/by-dtxsid/DTXSID123456789
response:
body:
string: "{\n \"type\" : \"about:blank\",\n \"title\" : \"Bad Request\",\n
\ \"status\" : 400,\n \"detail\" : \"dtxsid with value DTXSID123456789 not
found.\",\n \"instance\" : \"/chemical/detail/search/by-dtxsid/DTXSID123456789\"\n}"
headers:
Access-Control-Allow-Origin:
- '*'
Cache-Control:
- max-age=0, must-revalidate, no-transform
Connection:
- keep-alive
- close
Content-Type:
- application/problem+json
Date:
- Thu, 05 Sep 2024 23:00:48 GMT
- Fri, 30 Jan 2026 15:03:25 GMT
Server:
- Apache
Strict-Transport-Security:
- max-age=31536000
- "max-age=63072000; includeSubDomains; preload\xE2\x80\x9C"
Transfer-Encoding:
- chunked
Via:
- 1.1 5eb5e19c1a78889d10ff38f1551ed2aa.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- QkxUHQsw5P2OEfQguc-yW3T0fJuxR3T7mwIQcBFFi_Zu3pXZ8dC-Ug==
X-Amz-Cf-Pop:
- IAD89-C1
X-Cache:
- Error from cloudfront
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
X-Vcap-Request-Id:
- cc08d157-3ec9-40e6-4b23-cbdac3417363
X-Xss-Protection:
- 1; mode=block
Vary:
- Origin,Access-Control-Request-Method,Access-Control-Request-Headers
status:
code: 400
message: Bad Request
message: ''
version: 1
Loading