Skip to content

Commit

Permalink
Replace nobreakspace by normal spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarbier authored and galleon committed Dec 1, 2021
1 parent c8c4c43 commit 7be4f81
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ jobs:
echo "AUTODOC_BINDER_ENV_GH_BRANCH=${AUTODOC_BINDER_ENV_GH_BRANCH}" >> $GITHUB_ENV
echo "AUTODOC_NOTEBOOKS_REPO_URL=${AUTODOC_NOTEBOOKS_REPO_URL}" >> $GITHUB_ENV
echo "AUTODOC_NOTEBOOKS_BRANCH=${AUTODOC_NOTEBOOKS_BRANCH}" >> $GITHUB_ENV
# check computed variables
# check computed variables
echo "Binder env: ${AUTODOC_BINDER_ENV_GH_REPO_NAME}/${AUTODOC_BINDER_ENV_GH_BRANCH}"
echo "Notebooks source: ${AUTODOC_NOTEBOOKS_REPO_URL}/tree/${AUTODOC_NOTEBOOKS_BRANCH}"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pip install scikit-decide[all]
```
For more details, see the [online documentation](https://airbus.github.io/scikit-decide/install).

## Documentation
## Documentation

The latest documentation is available [online](https://airbus.github.io/scikit-decide).

Expand Down
2 changes: 1 addition & 1 deletion docs/contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Then generate and serve locally the documentation with:
poetry run yarn docs:dev
```

NB: The above command will call  `python docs/autodoc.py` hence the use of `poetry run`.
NB: The above command will call `python docs/autodoc.py` hence the use of `poetry run`.


Open your web browser to access the documentation (by default on http://localhost:8080/scikit-decide/).
Expand Down
2 changes: 1 addition & 1 deletion notebooks/11_maze_tuto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Conclusion"
"## Conclusion"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/12_gym_tuto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## About Continuous Mountain Car problem"
"## About Continuous Mountain Car problem"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/14_benchmarking_tuto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
"Now it is time to run the benchmark. \n",
"\n",
"Some remarks: \n",
"- By default, one free CPU will be allocated for each solver trial, but you can customize allocated CPUs/GPUs using the  `resources_per_trial` argument. \n",
"- By default, one free CPU will be allocated for each solver trial, but you can customize allocated CPUs/GPUs using the `resources_per_trial` argument. \n",
"- Some solvers will fail for various reasons (e.g. missing required arguments, as logged in induvidual error.txt files under ~/ray_results arborescence), but this will not stop the benchmarck from running the other ones. So do not be afraid of the numerous red lines below!\n",
"- You could fix most of the failing solvers by specifying the missing arguments thanks to `solver_args` option as shown below for `StableBaseline`.\n",
"- To avoid a very long output, we use here a progress reporter adapted to Jupyter notebooks that will update in place the status of different jobs. As a side effect, error messages of failing solvers may be overwritten. But you can still have a look to the error files afterwards (see \"error file\" column in the second table below)."
Expand Down
4 changes: 2 additions & 2 deletions notebooks/maze_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ def generate_random_maze(width: int, height: int) -> "Maze":
# pick a cell
current_cell = stack.pop()
i, j = current_cell
#  find unvisited neighbours
# find unvisited neighbours
neighbours = [(i + di, j + dj) for (di, dj) in _deltas_neighbour]
neighbours = [
(i, j)
for (i, j) in neighbours
if (i > 0) and (i < height) and (j > 0) and (j < width)
]
unvisited_neighbours = [cell for cell in neighbours if cell not in visited]
#  remove a wall towards an unvisited cell
# remove a wall towards an unvisited cell
if len(unvisited_neighbours) > 0:
stack.append(current_cell)
next_cell = random.choice(unvisited_neighbours)
Expand Down

0 comments on commit 7be4f81

Please sign in to comment.