Skip to content

Commit b3a0f61

Browse files
changed brands to international-brands
1 parent c67031a commit b3a0f61

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drugbank/drugbank.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ function parsePartnerEntry($did, $pid, $x)
185185
{
186186
$debug = false;
187187
if(!isset($x->polypeptide)) {
188-
echo "no polypeptide defined for $pid";
189188
return;
190189
}
191190
$partner = $x->polypeptide;
@@ -412,7 +411,7 @@ function parseDrugEntry(&$xml)
412411
$this->AddCategory($x,$did,"synonyms","synonym",parent::getVoc()."synonym");
413412

414413
// brand names
415-
$this->AddCategory($x,$did,"brands","brand",parent::getVoc()."brand");
414+
$this->AddCategory($x,$did,"international-brands","international-brand",parent::getVoc()."brand");
416415

417416
// salt
418417
if(isset($x->salts->salt)) {

0 commit comments

Comments
 (0)