Skip to content

Commit b4b404a

Browse files
authored
Userguide (#44)
Adding a user guide to the documentation
1 parent 697a435 commit b4b404a

12 files changed

Lines changed: 489 additions & 3 deletions

auto2/diagrams/bifurcations.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,10 @@ def _define_log_format(self, continuation_kwargs, mode="w", encoding="utf-8"):
254254
+ " -- Module %(filename)s -- %(message)s"
255255
)
256256

257+
file_name = f"auto2_{self.model_name}_{cont_param}.log"
258+
full_fn = os.path.join(self.path_name, file_name)
257259
fh = logging.FileHandler(
258-
os.path.join(self.path_name, f"auto2_{self.model_name}_{cont_param}.log"),
260+
full_fn,
259261
mode=mode,
260262
encoding=encoding,
261263
)
@@ -268,6 +270,11 @@ def _define_log_format(self, continuation_kwargs, mode="w", encoding="utf-8"):
268270
ch.setFormatter(formatter)
269271
self._logger.addHandler(ch)
270272

273+
self._logger.info(
274+
f"Starting a new bifurcation diagram along {cont_param}."
275+
f"Logs related to this diagram can be found in the {full_fn} file."
276+
)
277+
271278
def compute_fixed_points_diagram(
272279
self,
273280
initial_points=None,
175 KB
Loading
286 KB
Loading
62.9 KB
Loading
112 KB
Loading
137 KB
Loading
33.6 KB
Loading
7.55 KB
Loading
127 KB
Loading
54 KB
Loading

0 commit comments

Comments
 (0)