Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMedford committed Mar 2, 2020
1 parent b6dad50 commit 4f22e35
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/PopSyCLE_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"\n",
"Then create the stellar model, \n",
"by running `galaxia -r galaxia_params.example.txt`. This can also be done from \n",
"python by using the `execute` function provided in `synthetic.py`:\n"
"python by using the `execute` function provided in `utils.py`:\n"
],
"metadata": {
"pycharm": {
Expand Down
4 changes: 2 additions & 2 deletions docs/PopSyCLE_example_run.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"The entire PopSyCLE pipeline can be run with `popsycle/run.py`. \n",
"\n",
"First, create a PopSyCLE configuration file that contains the parameters necessary to run the PopSyCLE pipeline. You may want to create a single PopSyCLE configuration file for each project in order to keep the execution of PopSyCLE the same over multiple\n",
"fields. An example can be found in `popsycle/data/popsycle_config.yaml` and a custom popsycle config file can be generated using ``popsycle.synthetic.generate_popsycle_config_file``."
"fields. An example can be found in `popsycle/data/popsycle_config.yaml` and a custom popsycle config file can be generated using ``popsycle.run.generate_popsycle_config_file``."
]
},
{
Expand All @@ -59,7 +59,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Second, create a field configuartion file that contains the galactic longitude and latitude that you would like to conduct the survey and the area over which the survey should be conducted. This can be dong using `popsycle.synthetic.generate_field_config_file`."
"Second, create a field configuration file that contains the galactic longitude and latitude that you would like to conduct the survey and the area over which the survey should be conducted. This can be dong using `popsycle.run.generate_field_config_file`."
]
},
{
Expand Down
8 changes: 4 additions & 4 deletions docs/PopSyCLE_example_slurm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Slurm is an open source, fault-tolerant, and highly scalable cluster management and job scheduling system for large and small Linux clusters (https://slurm.schedmd.com/overview.html). Multiple instances of the PopSyCLE pipeline can be executed in parallel if running on a system that both has PopSyCLE and a slurm scheduler installed. The ``popsycle.slurm.generate_slurm_scripts`` function will create and submit slurm batch scripts that execute the entire PopSyCLE pipeline.\n",
"Slurm is an open source, fault-tolerant, and highly scalable cluster management and job scheduling system for large and small Linux clusters (https://slurm.schedmd.com/overview.html). Multiple instances of the PopSyCLE pipeline can be executed in parallel if running on a system that both has PopSyCLE and a slurm scheduler installed. The ``popsycle.run.generate_slurm_scripts`` function will create and submit slurm batch scripts that execute the entire PopSyCLE pipeline.\n",
"\n",
"To begin, create a slurm configuration file that contains the linux cluster parameters necessary to submit a batch scripts. These parameters outline features of the slurm scheduler and the config file should only need to be created once. An example can be found in `popsycle/data/slurm_config.yaml` and a custom slurm config file can be generated using ``popsycle.synthetic.generate_slurm_config_file``. "
"To begin, create a slurm configuration file that contains the linux cluster parameters necessary to submit a batch scripts. These parameters outline features of the slurm scheduler and the config file should only need to be created once. An example can be found in `popsycle/data/slurm_config.yaml` and a custom slurm config file can be generated using ``popsycle.run.generate_slurm_config_file``. "
]
},
{
Expand All @@ -56,7 +56,7 @@
"metadata": {},
"source": [
"Next, create a PopSyCLE configuration file that contains the parameters necessary to run the PopSyCLE pipeline. You may want to create a single PopSyCLE configuration file for each project in order to keep the execution of PopSyCLE the same over multiple\n",
"fields. An example can be found in `popsycle/data/popsycle_config.yaml` and a custom popsycle config file can be generated using ``popsycle.synthetic.generate_popsycle_config_file``. "
"fields. An example can be found in `popsycle/data/popsycle_config.yaml` and a custom popsycle config file can be generated using ``popsycle.run.generate_popsycle_config_file``. "
]
},
{
Expand All @@ -83,7 +83,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Lastly, run the ``popsycle.synethtic.generate_slurm_scripts`` function along with parameters about a single PopSyCLE field that you would like to run. These parameters could be different for each field and allow for the user to launch multiple instances of PopSyCLE at once by running this function multiple times with\n",
"Lastly, run the ``popsycle.run.generate_slurm_scripts`` function along with parameters about a single PopSyCLE field that you would like to run. These parameters could be different for each field and allow for the user to launch multiple instances of PopSyCLE at once by running this function multiple times with\n",
"different input. A slurm script has been generated in `path_run` that will submit to the compute cluser when `submitFlag=True`."
]
},
Expand Down

0 comments on commit 4f22e35

Please sign in to comment.