app.py
CHANGED
|
@@ -85,7 +85,7 @@ smiles_image = Draw.MolToImage(smiles_mol)
|
|
| 85 |
st.image(smiles_image)
|
| 86 |
|
| 87 |
|
| 88 |
-
vdw_surface =
|
| 89 |
max_N_atoms = 60
|
| 90 |
max_grid_points = 3143
|
| 91 |
max_grid_points - len(vdw_surface)
|
|
@@ -120,18 +120,9 @@ batch = psi4_test_batches[batchID]
|
|
| 120 |
mono, dipo = apply_model(DCM1, test_weights, batch, batch_size)
|
| 121 |
|
| 122 |
|
| 123 |
-
# Disable future warnings.
|
| 124 |
-
import warnings
|
| 125 |
-
warnings.simplefilter(action='ignore', category=FutureWarning)
|
| 126 |
-
|
| 127 |
-
# Initialize PRNGKey for random number generation.
|
| 128 |
-
key = jax.random.PRNGKey(0)
|
| 129 |
-
|
| 130 |
-
key, rotation_key = jax.random.split(key)
|
| 131 |
-
rotation = e3x.so3.random_rotation(rotation_key)
|
| 132 |
-
|
| 133 |
-
st.write(rotation)
|
| 134 |
|
|
|
|
|
|
|
| 135 |
#st.write(MessagePassingModel)
|
| 136 |
#st.write(test_weights)
|
| 137 |
|
|
|
|
| 85 |
st.image(smiles_image)
|
| 86 |
|
| 87 |
|
| 88 |
+
vdw_surface = surface
|
| 89 |
max_N_atoms = 60
|
| 90 |
max_grid_points = 3143
|
| 91 |
max_grid_points - len(vdw_surface)
|
|
|
|
| 120 |
mono, dipo = apply_model(DCM1, test_weights, batch, batch_size)
|
| 121 |
|
| 122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
|
| 124 |
+
st.write(dipo)
|
| 125 |
+
st.write(mono)
|
| 126 |
#st.write(MessagePassingModel)
|
| 127 |
#st.write(test_weights)
|
| 128 |
|