Skip to content

Commit

Permalink
more docs updatss
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed Jul 5, 2024
1 parent 4bf3155 commit 18a2e94
Show file tree
Hide file tree
Showing 15 changed files with 1,505 additions and 1,374 deletions.
4 changes: 4 additions & 0 deletions autofit/non_linear/paths/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ def image_path(self) -> Path:
"""
The path to the image folder.
"""

if not os.path.exists(self.output_path / "image"):
os.makedirs(self.output_path / "image")

return self.output_path / "image"

@property
Expand Down
2 changes: 1 addition & 1 deletion autofit/non_linear/search/abstract_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ def perform_update(

log_message = True

if not during_analysis:
if during_analysis:
log_message = False
elif self.disable_output:
log_message = False
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ The custom result API allows us to do this. First, we define a custom ``Result``
"""
xvalues = np.arange(self.analysis.data.shape[0])
return self.instance.model_data_from(instance=xvalues)
return self.instance.model_data_from(xvalues=xvalues)
The custom result has access to the analysis class, meaning that we can use any of its methods or properties to
compute custom result properties.
Expand Down
536 changes: 0 additions & 536 deletions docs/cookbooks/database.rst

This file was deleted.

1,066 changes: 493 additions & 573 deletions docs/cookbooks/result.rst

Large diffs are not rendered by default.

Loading

0 comments on commit 18a2e94

Please sign in to comment.