Skip to content

Commit

Permalink
update setup
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed Jan 18, 2024
1 parent 6c313ae commit f9f2203
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion calphy/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@ def find_solid_fraction(file):
sys.find.neighbors(
method="cutoff", cutoff=5.0
) # Maybe add value as convergence param?
solids = sys.find.solids()
sys.find.solids()
solids = np.sum(sys.atoms.solid)
return solids


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
description="free energy calculation for python",
install_requires=['matplotlib', 'pytest',
'pyyaml', 'mendeleev',
'tqdm', 'scipy', 'pydantic', 'pyscal', 'pyscal3'],
'tqdm', 'scipy', 'pydantic', 'pyscal3'],
license="GNU General Public License v3",
long_description=readme,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit f9f2203

Please sign in to comment.