Skip to content

Commit

Permalink
Updated to py3.8. Version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdhimes committed Jan 5, 2024
1 parent ff9df31 commit 0f0f9b6
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
22 changes: 11 additions & 11 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: lisa
channels:
- conda-forge
dependencies:
- python=3.7.2
- mpi4py=3.0.3
- python=3.8.18
- mpi4py=3.1.4
- mpich=3.3.2
- cython=0.29.5
- matplotlib=3.0.2
- numpy=1.16.5
- numpy=1.24.3
- matplotlib=3.7.2
- multiprocess=0.70.15
- scipy=1.5.3
- yaml=0.1.7
- h5py=2.10.0
- multinest=3.10
- pymultinest=2.9
- ultranest=2.2.1
- dynesty=1.0.1
- yaml=0.2.5
- h5py=3.1.0
- pymultinest=2.12
- ultranest=3.6.4
- dynesty=2.1.2
- dnest4=0.2.4
- emcee=3.1.4
2 changes: 1 addition & 1 deletion example/dream_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# Run it
samp = lisa.run('dream', fbestp='output_bestp.npy', fext='.png',
fprefix='model', fsavefile='output_posterior.npy',
loglike=loglike, nchains=4, niter=100000,
loglike=loglike, nchains=4, niter=30000,
outputdir=outputdir, pmax=pmax, pmin=pmin, pnames=pnames,
pstep=pstep, thinning=1, truepars=pars, verb=1)

2 changes: 1 addition & 1 deletion lisa/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.4'
__version__ = '0.5'
1 change: 1 addition & 0 deletions lisa/wrappers/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
mcpdir = os.path.join(os.path.dirname(__file__), '..', 'modules', 'MCcubed',
'MCcubed', 'plots')
sys.path.append(mcpdir)
sys.path.append(os.path.join(mcpdir, '..', 'lib')) # so that mcplots finds binarray
import mcplots as mcp


Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def run(self):
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=['numpy>=1.16', 'cython>=0.29.5', 'matplotlib>=3.0',
'pymultinest==2.9', 'ultranest==2.2.1', 'dynesty==1.0.1',
'dnest4==0.2.4', 'mpi4py==3.0.3'],
install_requires=['numpy>=1.16', 'matplotlib>=3.0',
'pymultinest==2.9', 'ultranest>=2.2.1', 'dynesty>=1.0.1',
'dnest4>=0.2.4', 'mpi4py>=3.0.3'],
cmdclass={'build_py': lisa_build}
)

0 comments on commit 0f0f9b6

Please sign in to comment.