Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates following pynbody v2 release #268

Merged
merged 5 commits into from
Feb 19, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update version number and pynbody dependence.
Use reference database updated for pynbody v2
apontzen committed Feb 18, 2025
commit cf9c9dd38f6241fa71ab8aa51d8645c81de2f1cd
4 changes: 2 additions & 2 deletions .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ jobs:
pip install -e .
- name: Install latest pynbody
run: python -m pip install --pre pynbody
run: python -m pip install pynbody
# Or: python -m pip install git+https://github.com/pynbody/pynbody.git

- name: Install yt
@@ -62,7 +62,7 @@ jobs:
- name: Verify database
working-directory: test_tutorial_build
run: |
wget https://zenodo.org/record/12192344/files/reference_database.db?download=1 -O reference_database.db -nv
wget https://zenodo.org/record/14889535/files/reference_database.db?download=1 -O reference_database.db -nv
tangos diff data.db reference_database.db --property-tolerance dm_density_profile 1e-2 0 --property-tolerance gas_map 1e-2 0 --property-tolerance gas_map_sideon 1e-2 0 --property-tolerance gas_map_faceon 1e-2 0
# --property-tolerance dm_density_profile here is because if a single particle crosses between bins
# (which seems to happen due to differing library versions), the profile can change by this much
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@
'pytest >= 5.0.0',
'webtest >= 2.0',
'pyquery >= 1.3.0',
'pynbody >= 2.0.0-beta.8',
'pynbody >= 2.0.0',
'yt>=3.4.0',
'PyMySQL>=1.0.2',
]
2 changes: 1 addition & 1 deletion tangos/__init__.py
Original file line number Diff line number Diff line change
@@ -11,4 +11,4 @@
from .core import *
from .query import *

__version__ = '1.9.3-beta'
__version__ = '1.10.0'