Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/KBDEV-1142-update-chembl-loader-content-name #160

Merged
merged 2 commits into from
Jul 22, 2024
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 src/chembl/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const fetchAndLoadById = async (conn, drugId) => {
const source = rid(CACHE.SOURCE);

const content = {
name: chemblRecord.pref_name,
name: chemblRecord.pref_name || chemblRecord.molecule_properties.full_molformula,
source,
sourceId: chemblRecord.molecule_chembl_id,
};
Expand Down
2 changes: 1 addition & 1 deletion src/drugbank/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mv full\ database.xml $filename
Then use the general file loader to load this into GraphKB

```bash
node bin/load.js file drugbank_all_full_database_*.xml
node bin/load.js file drugbank full_database.xml
```

> :warning: Since this contains cross-mappings to [FDA-SRS](../fdaSrs) UNII identifiers it is useful to load that file
Expand Down
Loading