Skip to content

Commit

Permalink
MAINT: Support pycalphad 0.10.0 test database fixtures (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
bocklund authored Jun 27, 2023
1 parent 6818392 commit 05a89a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions scheil/ordering.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ def rename_disordered_phases(eq_result, ordering_records):
Examples
--------
>>> from pycalphad import Database, equilibrium, variables as v
>>> from pycalphad.tests.datasets import AL_C_FE_B2_TDB
>>> dbf = Database(AL_C_FE_B2_TDB)
>>> import pycalphad.tests.databases
>>> from importlib_resources import files
>>> dbf = Database(str(files(pycalphad.tests.databases).joinpath("alcfe_b2.tdb")))
>>> comps = ['AL', 'FE', 'VA']
>>> phases = list(dbf.phases.keys())
>>> eq_res = equilibrium(dbf, comps, ['B2_BCC'], {v.P: 101325, v.T: 1000, v.N: 1, v.X('AL'): [0.1, 0.4]})
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def readme(fname):
'numpy',
'scipy',
'setuptools_scm[toml]>=6.0',
'pycalphad>=0.9.1',
'pycalphad>=0.10.0',
],
extras_require={
'dev': [
Expand Down

0 comments on commit 05a89a9

Please sign in to comment.