Skip to content

Commit d4cfd94

Browse files
authored
Merge pull request #136 from jaladh-singhal/IRSA-7104-hats-lsdb
IRSA-7104: Add "Access IRSA HATS using lsdb" notebook
2 parents 8413dda + 24b0da1 commit d4cfd94

File tree

5 files changed

+626
-1
lines changed

5 files changed

+626
-1
lines changed

.binder/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ pyarrow>=10.0.1
1212
hpgeom
1313
pandas>=1.5.2
1414
dask[distributed]
15+
lsdb>=0.6.4
16+
# indirect dependency workaround until https://github.com/astronomy-commons/lsdb/issues/1047 is resolved and picked up as out minimum version
17+
universal_pathlib<0.3
1518
psutil
1619
ray
1720
s3fs

index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ They cover topics like querying IRSA, working with catalogs in Parquet format, v
66

77

88

9-
109
## About these notebooks
1110

1211
**Authors:** IRSA Scientists and Developers wrote and maintain these notebooks.

toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,6 @@ project:
5757
- title: Special Topics
5858
children:
5959
- file: tutorials/cloud_access/cloud-access-intro.md
60+
- file: tutorials/parquet-catalog-demos/irsa-hats-with-lsdb.md
6061
- file: tutorials/firefly/SEDs_in_Firefly.md
6162
- file: tutorials/parallelize/Parallelize_Convolution.md

tox.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@ deps =
4040

4141
allowlist_externals = bash, jupyter-book
4242

43+
44+
install_command =
45+
# lsdb has tighter minimum dependencies, deal with it here for now, long term handle it from the notebook metadata
46+
# We need to do this here before the dependencies are installed to work around deps conflicts
47+
oldestdeps: bash -c "echo tutorials/parquet-catalog-demos/irsa-hats-with-lsdb >> ignore_testing; sed -i -e 's|lsdb|\#lsdb|g' .binder/requirements.txt && python -I -m pip install $@"
48+
49+
# Adding back the default install command
50+
!oldestdeps: python -I -m pip install {opts} {packages}
51+
52+
4353
commands =
4454
pip freeze
4555

0 commit comments

Comments
 (0)