diff options
author | Alexander_Kabui | 2024-09-02 15:17:12 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-09-02 15:17:12 +0300 |
commit | 742beb6ee663bc9ae5409461d2be4b2144b8893e (patch) | |
tree | 9806e8ca9d156d487b1766df01f7958e283b320d | |
parent | 086c80510ff418bca77f544d3dd4b174d2dc9c8e (diff) | |
download | genenetwork3-742beb6ee663bc9ae5409461d2be4b2144b8893e.tar.gz |
Refactor doc_id object.
-rw-r--r-- | gn3/llms/process.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/llms/process.py b/gn3/llms/process.py index ef925c4..bfce9a5 100644 --- a/gn3/llms/process.py +++ b/gn3/llms/process.py @@ -23,8 +23,8 @@ class DocIDs(): * sugar_doc_ids: open doc_ids for diabetes references """ self.doc_ids = load_file("doc_ids.json", BASEDIR) - self.sugar_doc_ids = load_file("all_files.json", BASEDIR) - self.format_doc_ids(self.sugar_doc_ids) + sugar_doc_ids = load_file("all_files.json", BASEDIR) + self.format_doc_ids(sugar_doc_ids) def format_doc_ids(self, docs): """method to format doc_ids for list items doc_id and doc_name""" |