diff --git a/docs/example.rst b/docs/example.rst index 607499f..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 ~~~~~~~~~~~~~~~~~~~ @@ -186,8 +192,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::