From 47107fb741b4610690121dfdc34256caac54dcd0 Mon Sep 17 00:00:00 2001 From: bcrazzolara <100051687+bcrazzolara@users.noreply.github.com> Date: Tue, 28 Apr 2026 10:34:38 +0200 Subject: [PATCH 1/2] update stellar type indexing from numbers to letters --- docs/example.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/example.rst b/docs/example.rst index 607499f..8c8bee4 100644 --- a/docs/example.rst +++ b/docs/example.rst @@ -186,8 +186,8 @@ remove all A-type stars and every M-type at a distance larger than 10 pc away fr .. code-block:: python :lineno-start: 26 - bus.data.catalog_remove_distance(stype=0, mode='larger', dist=0.) - bus.data.catalog_remove_distance(stype=4, mode='larger', dist=10.) + bus.data.catalog_remove_distance(stype='A', mode='larger', dist=0.) + bus.data.catalog_remove_distance(stype='M', mode='larger', dist=10.) .. Hint:: From 919ffce93ae32f0ff1f11cca0f6037ff33435d12 Mon Sep 17 00:00:00 2001 From: bcrazzolara <100051687+bcrazzolara@users.noreply.github.com> Date: Tue, 28 Apr 2026 10:45:48 +0200 Subject: [PATCH 2/2] update of planet population setup in the example. --- docs/example.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/example.rst b/docs/example.rst index 8c8bee4..277d2b5 100644 --- a/docs/example.rst +++ b/docs/example.rst @@ -162,6 +162,12 @@ project folder. with open('path/ppop_catalog.txt', 'wb') as file: file.write(data.content) + +At the moment, the ``TestPlanetPopulation.txt`` file is not available directly on the P-Pop GitHub repository anymore. +Instead, follow the instructions on |p-pop| to clone the repository and create the file locally on your computer. +Then rename the file from ``TestPlanetPopulation.txt`` to ``ppop_catalog.txt`` and save it in the desired location. + + Loading the Catalog ~~~~~~~~~~~~~~~~~~~