Spaces:
Sleeping
Sleeping
Upload modrag_protein_functions.py
Browse files
modrag_protein_functions.py
CHANGED
|
@@ -268,6 +268,7 @@ def getbioactives_node(chembl_ids_list: list[str]) -> (list[str], str):
|
|
| 268 |
bioactives_string += f'=========================================================================================\n'
|
| 269 |
bioactives_images.append(None)
|
| 270 |
|
|
|
|
| 271 |
try:
|
| 272 |
img.save('current_image.png')
|
| 273 |
except:
|
|
@@ -874,6 +875,7 @@ def getbioactives_node_func(chembl_ids_list: list[str]) -> (list[str], str):
|
|
| 874 |
bioactives_string += f'=========================================================================================\n'
|
| 875 |
bioactives_images.append(None)
|
| 876 |
|
|
|
|
| 877 |
try:
|
| 878 |
img.save('current_image.png')
|
| 879 |
except:
|
|
|
|
| 268 |
bioactives_string += f'=========================================================================================\n'
|
| 269 |
bioactives_images.append(None)
|
| 270 |
|
| 271 |
+
img = bioactives_images[0]
|
| 272 |
try:
|
| 273 |
img.save('current_image.png')
|
| 274 |
except:
|
|
|
|
| 875 |
bioactives_string += f'=========================================================================================\n'
|
| 876 |
bioactives_images.append(None)
|
| 877 |
|
| 878 |
+
img = bioactives_images[0]
|
| 879 |
try:
|
| 880 |
img.save('current_image.png')
|
| 881 |
except:
|