Skip to content

Commit

Permalink
Update dscribe to 2.0 (#60)
Browse files Browse the repository at this point in the history
Needed for support of numpy (version 1.24.3 and higher) on Cirrus
  • Loading branch information
juraskov authored Oct 24, 2023
1 parent e4364c8 commit a19193d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions mlptrain/descriptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def soap_matrix(*args: Union[mlt.ConfigurationSet, mlt.Configuration],
# Compute the average SOAP vector where the expansion coefficients are
# calculated over averages over each site
soap_desc = SOAP(species=elements,
rcut=5, # Distance cutoff (Å)
nmax=6, # Maximum order of the radial
lmax=6, # Maximum order of the angular
r_cut=5, # Distance cutoff (Å)
n_max=6, # Maximum order of the radial
l_max=6, # Maximum order of the angular
average='inner')

soap_vec = soap_desc.create([conf.ase_atoms for conf in configurations])
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
numpy<=1.23.5
numpy
ase # needs to be updated to dev version to use plumed
cython
scipy
autode==1.1*
# ase # Must be installed from https://github.com/rosswhitfield/ase:master
coloredlogs
dscribe==1.*
dscribe==2.0*
matplotlib-base
pytest
py-plumed

0 comments on commit a19193d

Please sign in to comment.