Skip to content

Commit aaab17c

Browse files
authored
Merge pull request #228 from automl/development
Merge version 1.4
2 parents a3fa53f + bba1e51 commit aaab17c

25 files changed

+51
-55
lines changed

CHANGELOG.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
1-
# Version 1.3.9
1+
# Version 1.4
2+
3+
## Converter Documentation
4+
- Added documentation to make it visible which converters cant handle instances
5+
- Added documentation to give some information about limitations (and capabilities) of the converters
6+
7+
## Documentation
8+
- Added the hint that for the api example the example records need to be run first to create the run.
9+
- Added links to GitHub pages in the web-based UI for help and more details on the method.
210

311
## Parallel Coordinates
412
- Set the margin of the graph so it gets dynamically computed depending on the length of the labels.
513

6-
# Version 1.3.6
7-
814
## New SMAC version compatibility
915
- The smac3v2 converter can now also handle the output of the new smac version
1016

11-
# Version 1.3.5
12-
1317
## Converter
1418
- Added a new converter to handle RayTune runs
1519
- Added example RayTune runs to logs
1620

17-
# Version 1.3.5
18-
1921
## Access Specifier
2022
- Changed access specifier from '_fit' to 'fit' in the RF surrogate
2123

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# are usually completed in github actions.
33

44
SHELL := /bin/bash
5-
VERSION := 1.3.4
5+
VERSION := 1.4
66

77
NAME := DeepCAVE
88
PACKAGE_NAME := deepcave

deepcave/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@
4444
"Source Code": "https://github.com/automl/deepcave",
4545
}
4646
copyright = f"Copyright {datetime.date.today().strftime('%Y')}, {author}"
47-
version = "1.3.4"
47+
version = "1.4"
4848

4949
_exec_file = sys.argv[0]
5050
_exec_files = ["server.py", "worker.py", "sphinx-build"]
5151

5252
ROOT_DIR = Path(__file__).parent
53+
DOC_ROOT = "https://automl.github.io/DeepCAVE/main/"
5354

5455

5556
def get_app(title: str) -> Any:

deepcave/plugins/__init__.py

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
from dash.development.base_component import Component
3838
from dash.exceptions import PreventUpdate
3939

40-
from deepcave import ROOT_DIR, interactive
40+
from deepcave import ROOT_DIR, DOC_ROOT, interactive
4141
from deepcave.layouts import Layout
4242
from deepcave.runs import AbstractRun
4343
from deepcave.runs.group import Group, NotMergeableError
@@ -856,45 +856,23 @@ def __call__(self, render_button: bool = False) -> List[Component]:
856856
components = []
857857

858858
if self.help is not None:
859-
doc_path = ROOT_DIR / self.help
860-
if not doc_path.exists():
861-
raise FileNotFoundError(doc_path)
862-
863-
if doc_path.name.endswith(".rst"):
864-
data = rst_to_md(doc_path)
865-
else:
866-
with doc_path.open("r") as file:
867-
data = file.read()
868-
869-
modal = html.Div(
870-
[
871-
dbc.Modal(
872-
[
873-
dbc.ModalBody([dcc.Markdown(data)]),
874-
],
875-
id=self.get_internal_id("help"),
876-
size="xl",
877-
scrollable=True,
878-
is_open=False,
879-
),
880-
]
881-
)
882-
859+
doc_path = DOC_ROOT + self.help
883860
components += [
884861
html.H1(
885862
[
886863
html.Span(self.name),
887864
dbc.Button(
888865
[html.I(className="far fa-question-circle")],
889866
id=self.get_internal_id("show_help"),
867+
href=doc_path,
868+
target="_blank",
890869
style={"float": "right"},
891870
color="primary",
892871
outline=True,
893872
n_clicks=0,
894873
),
895874
]
896875
),
897-
modal,
898876
]
899877
else:
900878
components += [html.H1(self.name)]

deepcave/plugins/budget/budget_correlation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class BudgetCorrelation(DynamicPlugin):
5454
id = "budget_correlation"
5555
name = "Budget Correlation"
5656
icon = "fas fa-coins"
57-
help = "docs/plugins/budget_correlation.rst"
57+
help = "plugins/budget_correlation.html"
5858
activate_run_selection = True
5959

6060
@staticmethod

deepcave/plugins/hyperparameter/ablation_paths.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class AblationPaths(StaticPlugin):
5959
id = "ablation_paths"
6060
name = "Ablation Paths"
6161
icon = "fas fa-sort-amount-up"
62-
help = "docs/plugins/ablation_paths.rst"
62+
help = "plugins/ablation_paths.html"
6363
activate_run_selection = True
6464

6565
@staticmethod

deepcave/plugins/hyperparameter/configuration_cube.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class ConfigurationCube(DynamicPlugin):
6060
name = "Configuration Cube"
6161
icon = "fas fa-cube"
6262
activate_run_selection = True
63-
help = "docs/plugins/configuration_cube.rst"
63+
help = "plugins/configuration_cube.html"
6464

6565
@staticmethod
6666
def get_input_layout(register: Callable) -> List[dbc.Row]:

deepcave/plugins/hyperparameter/importances.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Importances(StaticPlugin):
6666
id = "importances"
6767
name = "Importances"
6868
icon = "far fa-star"
69-
help = "docs/plugins/importances.rst"
69+
help = "plugins/importances.html"
7070
activate_run_selection = True
7171

7272
@staticmethod

deepcave/plugins/hyperparameter/parallel_coordinates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class ParallelCoordinates(StaticPlugin):
5353
name = "Parallel Coordinates"
5454
icon = "far fa-map"
5555
activate_run_selection = True
56-
help = "docs/plugins/parallel_coordinates.rst"
56+
help = "plugins/parallel_coordinates.html"
5757

5858
@staticmethod
5959
def get_input_layout(register: Callable) -> List[Any]:

deepcave/plugins/hyperparameter/pdp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class PartialDependencies(StaticPlugin):
6363
id = "pdp"
6464
name = "Partial Dependencies"
6565
icon = "fas fa-grip-lines"
66-
help = "docs/plugins/partial_dependencies.rst"
66+
help = "plugins/partial_dependencies.html"
6767
activate_run_selection = True
6868

6969
@staticmethod

0 commit comments

Comments
 (0)