Skip to content

Commit

Permalink
fix installation (#91)
Browse files Browse the repository at this point in the history
* fix installation

* Clarify installation instructions regarding zsh / M1 / MAC

* Update installation.rst - update delight tabs

* Update installation.rst - spaces

* Update installation.rst

---------

Co-authored-by: Olivia R. Lynn <[email protected]>
  • Loading branch information
eacharles and OliviaLynn authored Oct 17, 2023
1 parent 2f714e5 commit f85c3cf
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ We have included an `environment.yml` that makes it easy to create a conda envir
jupyter-notebook examples/estimation_examples/RAIL_estimation_demo.ipynb
.. group-tab:: Mac M1+
.. group-tab:: zsh (e.g., Mac M1+ default)

.. code-block:: bash
Expand Down Expand Up @@ -105,7 +105,7 @@ Here we will be installing all of the RAIL algorithms into an existing conda env
rail install --package-file rail_packages.yml
.. group-tab:: Mac M1+
.. group-tab:: zsh (e.g., Mac M1+ default)

.. code-block:: bash
Expand Down Expand Up @@ -149,7 +149,7 @@ Here we will be a single RAIL algorithm (e.g., rail_som) into an existing conda
pip install .
.. group-tab:: Mac M1+
.. group-tab:: zsh (e.g., Mac M1+ default)

.. code-block:: bash
Expand Down Expand Up @@ -184,21 +184,20 @@ We have included an `environment.yml` that makes it easy to create a conda envir
cd rail
conda env create -f environment.yml -n [env] # or mamba env create, which is much faster
conda activate [env]
pip install . -e
pip install -e .
rail clone-source --package-file rail_packages.yml
rail install --package-file rail_packages.yml --from-source
.. group-tab:: Mac M1+
.. group-tab:: zsh (e.g., Mac M1+ default)

.. code-block:: bash
git clone https://github.com/LSSTDESC/rail.git
cd rail
conda env create -f environment.yml -n [env] # or mamba env create, which is much faster
conda activate [env]
conda install healpy
pip install . -e
pip install -e .
rail clone-source --package-file rail_packages.yml
rail install --package-file rail_packages.yml --from-source
Expand Down Expand Up @@ -281,7 +280,7 @@ Installing Delight

.. tabs::

.. group-tab:: General
.. tab:: General

For Delight you should be able to just do:

Expand All @@ -290,7 +289,7 @@ Installing Delight
pip install pz-rail-delight
.. group-tab:: Mac M1+
.. tab:: Mac

For Delight you should be able to just do:

Expand Down

0 comments on commit f85c3cf

Please sign in to comment.