-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
157 additions
and
91 deletions.
There are no files selected for viewing
Binary file added
BIN
+22.6 KB
_images/88c52027db529de7c3ae7d423a47111ad4d11dc5acab0479ef51e2b280a83398.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-24.8 KB
_images/a3c950784f486b8b28dce3de97f53fa6c362f0e4dda61f34fff77d7fca88a748.png
Binary file not shown.
Binary file added
BIN
+47.1 KB
_images/a951e6aad5e398bb17cba2a433ced6358be44b366ddd21b896699eebb23e7172.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-47.1 KB
_images/bd02bcab94c68d2fa2388a53115c0c313bb65e946e426bbbeb940cbe6f70f91d.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Traceback (most recent call last): | ||
File "/usr/share/miniconda/envs/biochemist-python/lib/python3.11/site-packages/jupyter_cache/executors/utils.py", line 58, in single_nb_execution | ||
executenb( | ||
File "/usr/share/miniconda/envs/biochemist-python/lib/python3.11/site-packages/nbclient/client.py", line 1314, in execute | ||
return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
File "/usr/share/miniconda/envs/biochemist-python/lib/python3.11/site-packages/jupyter_core/utils/__init__.py", line 165, in wrapped | ||
return loop.run_until_complete(inner) | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
File "/usr/share/miniconda/envs/biochemist-python/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete | ||
return future.result() | ||
^^^^^^^^^^^^^^^ | ||
File "/usr/share/miniconda/envs/biochemist-python/lib/python3.11/site-packages/nbclient/client.py", line 709, in async_execute | ||
await self.async_execute_cell( | ||
File "/usr/share/miniconda/envs/biochemist-python/lib/python3.11/site-packages/nbclient/client.py", line 1062, in async_execute_cell | ||
await self._check_raise_for_error(cell, cell_index, exec_reply) | ||
File "/usr/share/miniconda/envs/biochemist-python/lib/python3.11/site-packages/nbclient/client.py", line 918, in _check_raise_for_error | ||
raise CellExecutionError.from_cell_and_msg(cell, exec_reply_content) | ||
nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell: | ||
------------------ | ||
from rdkit import Chem | ||
|
||
from rdkit.Chem.AllChem import AssignBondOrdersFromTemplate | ||
|
||
template = Chem.MolFromMol2File("ligands/13U_ideal.mol2") | ||
pdb_ligand = Chem.MolFromPDBFile(f"pdb/ligand_A.pdb") | ||
|
||
template = Chem.RemoveAllHs(template) | ||
------------------ | ||
|
||
|
||
[0;31m---------------------------------------------------------------------------[0m | ||
[0;31mOSError[0m Traceback (most recent call last) | ||
Cell [0;32mIn[14], line 5[0m | ||
[1;32m 1[0m [38;5;28;01mfrom[39;00m [38;5;21;01mrdkit[39;00m [38;5;28;01mimport[39;00m Chem | ||
[1;32m 3[0m [38;5;28;01mfrom[39;00m [38;5;21;01mrdkit[39;00m[38;5;21;01m.[39;00m[38;5;21;01mChem[39;00m[38;5;21;01m.[39;00m[38;5;21;01mAllChem[39;00m [38;5;28;01mimport[39;00m AssignBondOrdersFromTemplate | ||
[0;32m----> 5[0m template [38;5;241m=[39m [43mChem[49m[38;5;241;43m.[39;49m[43mMolFromMol2File[49m[43m([49m[38;5;124;43m"[39;49m[38;5;124;43mligands/13U_ideal.mol2[39;49m[38;5;124;43m"[39;49m[43m)[49m | ||
[1;32m 6[0m pdb_ligand [38;5;241m=[39m Chem[38;5;241m.[39mMolFromPDBFile([38;5;124mf[39m[38;5;124m"[39m[38;5;124mpdb/ligand_A.pdb[39m[38;5;124m"[39m) | ||
[1;32m 8[0m template [38;5;241m=[39m Chem[38;5;241m.[39mRemoveAllHs(template) | ||
|
||
[0;31mOSError[0m: Bad input file ligands/13U_ideal.mol2 | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.