Skip to content

Commit aae1306

Browse files
committed
fix linter errors
1 parent cec9478 commit aae1306

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

_episodes/10-debugging.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ community helps you figure out what went wrong.
9494

9595
> ## Different log files
9696
>
97-
> In the ``run`` directory, there are two log files ``main_log_debug.txt`` and ``main_log.txt``.
98-
What are their differences?
97+
> In the ``run`` directory, there are two log files ``main_log_debug.txt`` and
98+
``main_log.txt``. What are their differences?
9999
>
100100
>> ## Solution
101101
>>
@@ -264,11 +264,13 @@ Then, we save the file and run the recipe:
264264
~~~
265265
266266
~~~
267-
ValueError: Tag 'tutorial' does not exist in section 'projects' of esmvaltool/config-references.yml
268-
2020-06-29 18:09:56,641 UTC [46055] INFO
269-
If you have a question or need help, please start a new discussion on https://github.com/ESMValGroup/ESMValTool/discussions
270-
If you suspect this is a bug, please open an issue on https://github.com/ESMValGroup/ESMValTool/issues
271-
To make it easier to find out what the problem is, please consider attaching the files run/recipe_*.yml and run/main_log_debug.txt from the output directory.
267+
ValueError: Tag 'tutorial' does not exist in section 'projects' of
268+
esmvaltool/config-references.yml 2020-06-29 18:09:56,641 UTC [46055] INFO If you
269+
have a question or need help, please start a new discussion on
270+
https://github.com/ESMValGroup/ESMValTool/discussions If you suspect this is a
271+
bug, please open an issue on https://github.com/ESMValGroup/ESMValTool/issues To
272+
make it easier to find out what the problem is, please consider attaching the
273+
files run/recipe_*.yml and run/main_log_debug.txt from the output directory.
272274
~~~
273275
{: .error}
274276
@@ -286,8 +288,8 @@ tree/master/esmvaltool/references) directory.
286288
> ## ESMValTool can’t locate the data
287289
>
288290
> You are assisting a colleague with ESMValTool. The colleague replaces the
289-
> ``CanESM2`` entry in ``dataset: CanESM2, project: CMIP5`` to ``ACCESS1-3`` and runs the recipe. However, ESMValTool
290-
> encounters an error like:
291+
> ``CanESM2`` entry in ``dataset: CanESM2, project: CMIP5`` to ``ACCESS1-3`` and
292+
> runs the recipe. However, ESMValTool encounters an error like:
291293
>
292294
> ~~~bash
293295
>ERROR No input files found for variable {'short_name': 'tas', 'mip': 'Amon',
@@ -358,11 +360,16 @@ scripts:
358360
~~~
359361
360362
~~~
361-
esmvalcore._task.DiagnosticError: Cannot execute script 'diag_scripts/ocean/diagnostic_timeseries.py' (~/mambaforge/envs/esmvaltool2.6/lib/python3.10/site-packages/esmvaltool/diag_scripts/diag_scripts/ocean/diagnostic_timeseries.py): file does not exist.
362-
2022-10-18 11:42:34,136 UTC [39323] INFO
363-
If you have a question or need help, please start a new discussion on https://github.com/ESMValGroup/ESMValTool/discussions
364-
If you suspect this is a bug, please open an issue on https://github.com/ESMValGroup/ESMValTool/issues
365-
To make it easier to find out what the problem is, please consider attaching the files run/recipe_*.yml and run/main_log_debug.txt from the output directory.
363+
esmvalcore._task.DiagnosticError: Cannot execute script
364+
'diag_scripts/ocean/diagnostic_timeseries.py'
365+
(~/mambaforge/envs/esmvaltool2.6/lib/python3.10/site-packages/esmvaltool/
366+
diag_scripts/diag_scripts/ocean/diagnostic_timeseries.py):
367+
file does not exist. 2022-10-18 11:42:34,136 UTC [39323] INFO If you have a
368+
question or need help, please start a new discussion on
369+
https://github.com/ESMValGroup/ESMValTool/discussions If you suspect this is a
370+
bug, please open an issue on https://github.com/ESMValGroup/ESMValTool/issues To
371+
make it easier to find out what the problem is, please consider attaching the
372+
files run/recipe_*.yml and run/main_log_debug.txt from the output directory.
366373
~~~
367374
{: .error}
368375

0 commit comments

Comments
 (0)