Skip to content

Commit

Permalink
Fixing bug in the library miss-importing
Browse files Browse the repository at this point in the history
  • Loading branch information
migueldelafuente1 committed Nov 2, 2023
1 parent 50b5b09 commit e3b7d2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions helpers/TBME_Runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,12 @@ def _compute1BodyMatrixElements(self, kin=False, force=None):
setting.
"""
obme_class : _OneBodyMatrixElement = None
sho_params = getattr(self.input_obj, ip.SHO_Parameters)

if kin or force == ForceEnum.Kinetic_2Body:
force = ForceEnum.Kinetic_2Body
obme_class = _Kinetic_1BME
obme_class.setInteractionParameters(**self.input_obj.SHO_Parameters)
obme_class.setInteractionParameters(**sho_params)
self.results_1b_byInterac[force] = {}
else:
obme_class = self.tbme_class.ONEBODY_MATRIXELEMENT
Expand All @@ -409,7 +411,6 @@ def _compute1BodyMatrixElements(self, kin=False, force=None):
self.results_1b_byInterac[force] = {}

if obme_class != None:
sho_params = getattr(self.input_obj, ip.SHO_Parameters)
obme_class.setInteractionParameters(**params, **sho_params)
else:
return
Expand Down
1 change: 0 additions & 1 deletion matrix_elements/MultipoleForces.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
from helpers.WaveFunctions import QN_1body_radial, QN_2body_jj_JT_Coupling

from copy import deepcopy, copy
from debugpy._vendored.pydevd._pydevd_bundle.pydevd_cython import self



Expand Down

0 comments on commit e3b7d2d

Please sign in to comment.