From 887f8a4d9d615ecbe87e0173b0a1b623a0e60bae Mon Sep 17 00:00:00 2001 From: elkoz Date: Tue, 26 Dec 2023 16:37:30 +0000 Subject: [PATCH] auto update --- docs/data/index.html | 10 ++++++++-- docs/download/index.html | 2 +- docs/index.html | 17 +++++++++++++++++ proteinflow/__init__.py | 1 + 4 files changed, 27 insertions(+), 3 deletions(-) diff --git a/docs/data/index.html b/docs/data/index.html index c605557..1deacca 100644 --- a/docs/data/index.html +++ b/docs/data/index.html @@ -2144,7 +2144,10 @@

Module proteinflow.data

self.crd_df, self.seq_df, self.ligands = self._parse_structure() else: self.crd_df, self.seq_df = self._parse_structure() - self.fasta_dict = self._parse_fasta() + try: + self.fasta_dict = self._parse_fasta() + except FileNotFoundError: + raise PDBError("FASTA file not found") @staticmethod def from_id(pdb_id, local_folder="."): @@ -3015,7 +3018,10 @@

Parameters

self.crd_df, self.seq_df, self.ligands = self._parse_structure() else: self.crd_df, self.seq_df = self._parse_structure() - self.fasta_dict = self._parse_fasta() + try: + self.fasta_dict = self._parse_fasta() + except FileNotFoundError: + raise PDBError("FASTA file not found") @staticmethod def from_id(pdb_id, local_folder="."): diff --git a/docs/download/index.html b/docs/download/index.html index 1d9802f..9fe44a3 100644 --- a/docs/download/index.html +++ b/docs/download/index.html @@ -237,7 +237,7 @@

Module proteinflow.download

"""Download a FASTA file and return a local path or the PDB ID if download failed.""" try: return download_fasta(pdb_id, local_folder) - except RuntimeError: + except Exception: return pdb_id diff --git a/docs/index.html b/docs/index.html index 20a8ff1..b959026 100644 --- a/docs/index.html +++ b/docs/index.html @@ -230,6 +230,22 @@

ProteinFlow Stable Releases

no v2.0.0 + +20231221_sabdab +21.12.23 +live 21.12.23 +1.8G +3.5 +30 +10'000 +- +0.3 +96/3/1 +0.5/0.2 +SAbDab +no +v2.6.1 (requires >= v1.4.0) +
@@ -404,6 +420,7 @@

ProteinFlow Stable Releases

|20230102_stable|27.02.23|20230102|28G|3.5|30|10'000|-|0.3|90/5/5|0.3/0.1|PDB|yes|v1.1.1| |20230623_sabdab|26.06.23|live 26.06.23|1.4G|3.5|30|10'000|-|0.3|96/3/1|0.5/0.2|SAbDab|no|v1.4.1 (requires >= v1.4.0)| |20230102_v200|19.07.23|20230102|33G|3.5|30|10'000|10|0.3|90/5/5|0.3/0.1|PDB|no|v2.0.0| +|20231221_sabdab|21.12.23|live 21.12.23|1.8G|3.5|30|10'000|-|0.3|96/3/1|0.5/0.2|SAbDab|no|v2.6.1 (requires >= v1.4.0)| """ __pdoc__ = { diff --git a/proteinflow/__init__.py b/proteinflow/__init__.py index 73ec1a1..68c48b7 100644 --- a/proteinflow/__init__.py +++ b/proteinflow/__init__.py @@ -166,6 +166,7 @@ |20230102_stable|27.02.23|20230102|28G|3.5|30|10'000|-|0.3|90/5/5|0.3/0.1|PDB|yes|v1.1.1| |20230623_sabdab|26.06.23|live 26.06.23|1.4G|3.5|30|10'000|-|0.3|96/3/1|0.5/0.2|SAbDab|no|v1.4.1 (requires >= v1.4.0)| |20230102_v200|19.07.23|20230102|33G|3.5|30|10'000|10|0.3|90/5/5|0.3/0.1|PDB|no|v2.0.0| +|20231221_sabdab|21.12.23|live 21.12.23|1.8G|3.5|30|10'000|-|0.3|96/3/1|0.5/0.2|SAbDab|no|v2.6.1 (requires >= v1.4.0)| """ __pdoc__ = {