Skip to content

Commit 6208479

Browse files
authored
Version 0.3 [Bugfixes]
1 parent 5dc1c4b commit 6208479

40 files changed

+350
-678
lines changed

.github/workflows/docs.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ on:
88
push:
99
branches:
1010
- main
11+
- development
1112

1213
# Trigger on any push to a PR that targets master
1314
pull_request:
1415
branches:
1516
- main
17+
- development
1618

1719
env:
1820
name: DeepCAVE
@@ -27,22 +29,20 @@ jobs:
2729
- name: Setup Python
2830
uses: actions/setup-python@v2
2931
with:
30-
python-version: 3.8
32+
python-version: 3.9
3133

3234
- name: Install dependencies
3335
run: |
34-
pip install -e ".[dev]"
36+
pip install .
37+
pip install .[dev]
3538
3639
- name: Make docs
3740
run: |
41+
cd docs
3842
make docs
3943
40-
- name: Make Examples
41-
run: |
42-
make examples
43-
4444
- name: Pull latest gh-pages
45-
if: (contains(github.ref, 'main'))
45+
if: (contains(github.ref, 'development') || contains(github.ref, 'main'))
4646
run: |
4747
cd ..
4848
git clone https://github.com/automl/${{ env.name }}.git --branch gh-pages --single-branch gh-pages
@@ -56,7 +56,7 @@ jobs:
5656
cp -r ../${{ env.name }}/docs/build/html $branch_name
5757
5858
- name: Push to gh-pages
59-
if: (contains(github.ref, 'main'))
59+
if: (contains(github.ref, 'development') || contains(github.ref, 'main'))
6060
run: |
6161
last_commit=$(git log --pretty=format:"%an: %s")
6262
cd ../gh-pages

.github/workflows/pre-commit.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,19 @@ on:
66

77
# When a push occurs on either of these branches
88
push:
9-
branches:
10-
- main
11-
- development
9+
branches-ignore:
10+
- '**'
11+
# branches:
12+
# - main
13+
# - development
1214

1315
# When a push occurs on a PR that targets these branches
1416
pull_request:
15-
branches:
16-
- main
17-
- development
17+
branches-ignore:
18+
- '**'
19+
# branches:
20+
# - main
21+
# - development
1822

1923
jobs:
2024
run-all-files:
@@ -25,10 +29,10 @@ jobs:
2529
with:
2630
submodules: recursive
2731

28-
- name: Setup Python 3.8
32+
- name: Setup Python 3.9
2933
uses: actions/setup-python@v2
3034
with:
31-
python-version: 3.8
35+
python-version: 3.9
3236

3337
- name: Install pre-commit
3438
run: |

.github/workflows/pytest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PyTest
1+
name: tests
22
on: [ push ]
33
jobs:
44
pytest:
@@ -11,10 +11,10 @@ jobs:
1111
# $CONDA is an environment variable pointing to the root of the miniconda directory
1212
echo $CONDA/bin >> $GITHUB_PATH
1313
14-
- name: Setup Python 3.8
14+
- name: Setup Python 3.9
1515
uses: actions/setup-python@v2
1616
with:
17-
python-version: 3.8
17+
python-version: 3.9
1818

1919
- name: Install dependencies
2020
run: |

Dockerfile

Lines changed: 0 additions & 24 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,10 @@ The webserver as well as the queue/workers can be started by running
6767
```
6868
deepcave --start
6969
```
70-
or
71-
```
72-
./start.sh
73-
```
7470
75-
Visit `http://127.0.0.1:8050/` to get started.
71+
Visit `http://127.0.0.1:8050/` to get started. The following figures gives
72+
you a first impression of DeepCAVE. You can find more screenshots
73+
in the documentation.
7674
77-
![interface](media/interface.png)
75+
![interface](docs/images/plugins/pareto_front.png)
7876

deepcave/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Type
1+
from typing import Dict, List
22
from pathlib import Path
33

44

@@ -30,7 +30,7 @@ class Config:
3030

3131
# Plugins
3232
@property
33-
def PLUGINS(self) -> dict[str, list[Type["Plugin"]]]:
33+
def PLUGINS(self) -> Dict[str, List["Plugin"]]:
3434
"""
3535
Returns:
3636
dictionary [category -> List[Plugins]]
@@ -69,7 +69,7 @@ def PLUGINS(self) -> dict[str, list[Type["Plugin"]]]:
6969

7070
# Run Converter
7171
@property
72-
def AVAILABLE_CONVERTERS(self) -> list[Type["Run"]]:
72+
def AVAILABLE_CONVERTERS(self) -> List["Run"]:
7373
from deepcave.runs.converters.bohb import BOHBRun
7474
from deepcave.runs.converters.deepcave import DeepCAVERun
7575
from deepcave.runs.converters.smac import SMACRun
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)