From 742beb6ee663bc9ae5409461d2be4b2144b8893e Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Mon, 2 Sep 2024 15:17:12 +0300 Subject: Refactor doc_id object. --- gn3/llms/process.py | 4 ++-- 1 file 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""" -- cgit v1.2.3