File tree Expand file tree Collapse file tree 1 file changed +20
-17
lines changed
Expand file tree Collapse file tree 1 file changed +20
-17
lines changed Original file line number Diff line number Diff line change @@ -194,29 +194,32 @@ def create_prior_models(args, dataset=None):
194194
195195 1. A single prior model name and its arguments as a dictionary:
196196
197- ```python
198- args = {
199- "prior_model": "Atomref",
200- "prior_args": {"max_z": 100}
201- }
202- ```
197+ .. code:: python
198+
199+ args = {
200+ "prior_model": "Atomref",
201+ "prior_args": {"max_z": 100}
202+ }
203+
204+
203205 2. A list of prior model names and their arguments as a list of dictionaries:
204206
205- ```python
207+ .. code:: python
208+
209+ args = {
210+ "prior_model": ["Atomref", "D2"],
211+ "prior_args": [{"max_z": 100}, {"max_z": 100}]
212+ }
206213
207- args = {
208- "prior_model": ["Atomref", "D2"],
209- "prior_args": [{"max_z": 100}, {"max_z": 100}]
210- }
211- ```
212214
213215 3. A list of prior model names and their arguments as a dictionary:
214216
215- ```python
216- args = {
217- "prior_model": [{"Atomref": {"max_z": 100}}, {"D2": {"max_z": 100}}]
218- }
219- ```
217+ .. code:: python
218+
219+ args = {
220+ "prior_model": [{"Atomref": {"max_z": 100}}, {"D2": {"max_z": 100}}]
221+ }
222+
220223
221224 Args:
222225 args (dict): Arguments for the model.
You can’t perform that action at this time.
0 commit comments