From 38a9ab1c5343f7672c1951adb0b6fa30e3fb6ad6 Mon Sep 17 00:00:00 2001 From: James Parkhurst Date: Wed, 16 Jul 2025 10:45:04 +0100 Subject: [PATCH 1/3] Move to rcsbapi package --- profet/pdb.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/profet/pdb.py b/profet/pdb.py index ed82122..d033dc5 100644 --- a/profet/pdb.py +++ b/profet/pdb.py @@ -1,5 +1,5 @@ from urllib.request import urlretrieve -from rcsbsearchapi import TextQuery +from rcsbapi.search import TextQuery class PDB_DB: diff --git a/setup.cfg b/setup.cfg index 1655c63..a59ed25 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,7 +27,7 @@ install_requires = requests pandas requests_html - rcsbsearchapi + rcsbapi bs4 pypdb@git+https://github.com/williamgilpin/pypdb@master#egg=pypdb lxml_html_clean From ea2bce5f6f3b4bd37232fa56f2f6d2e97497641e Mon Sep 17 00:00:00 2001 From: James Parkhurst Date: Wed, 16 Jul 2025 10:56:48 +0100 Subject: [PATCH 2/3] Remove pypdb --- setup.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index a59ed25..34194a2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,7 +29,6 @@ install_requires = requests_html rcsbapi bs4 - pypdb@git+https://github.com/williamgilpin/pypdb@master#egg=pypdb lxml_html_clean [options.extras_require] From 34c614caec7793cd3cdcaa087afe3b087b483e04 Mon Sep 17 00:00:00 2001 From: James Parkhurst Date: Wed, 16 Jul 2025 11:58:12 +0100 Subject: [PATCH 3/3] Fixed import --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 34194a2..8feee10 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,7 +27,7 @@ install_requires = requests pandas requests_html - rcsbapi + rcsb-api bs4 lxml_html_clean