From ac52155c446fe061b11236d4983f7976c80fdb54 Mon Sep 17 00:00:00 2001 From: Alvin Noe Ladines Date: Mon, 22 Jan 2024 00:48:09 +0100 Subject: [PATCH] Disable soap calculation --- soapnormalizer/normalizer.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/soapnormalizer/normalizer.py b/soapnormalizer/normalizer.py index e2394ba..8c4cd30 100644 --- a/soapnormalizer/normalizer.py +++ b/soapnormalizer/normalizer.py @@ -61,14 +61,14 @@ def normalize_system(self, system, is_representative): soap.r_cut = np.float64(params["soap cutoff"]) soap.atom_sigma = np.float64(params["atom_sigma"]) - # regular soap - quippy_str = params_to_quippy_str(params) - desc = descriptors.Descriptor(quippy_str) - output = desc.calc(atoms) - ps_array_list = [flat_to_array(p, N, L, S) for p in output["data"]] - soap.soap = np.array( - [np.reshape(d, (S, S, -1)) for d in ps_array_list] - ) + # # regular soap + # quippy_str = params_to_quippy_str(params) + # desc = descriptors.Descriptor(quippy_str) + # output = desc.calc(atoms) + # ps_array_list = [flat_to_array(p, N, L, S) for p in output["data"]] + # soap.soap = np.array( + # [np.reshape(d, (S, S, -1)) for d in ps_array_list] + # ) # TODO causes memory overflow # # global soap