aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander_Kabui2024-09-02 15:17:12 +0300
committerAlexander_Kabui2024-09-02 15:17:12 +0300
commit742beb6ee663bc9ae5409461d2be4b2144b8893e (patch)
tree9806e8ca9d156d487b1766df01f7958e283b320d
parent086c80510ff418bca77f544d3dd4b174d2dc9c8e (diff)
downloadgenenetwork3-742beb6ee663bc9ae5409461d2be4b2144b8893e.tar.gz
Refactor doc_id object.
-rw-r--r--gn3/llms/process.py4
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"""