Skip to content

Commit 2c68972

Browse files
committed
Increased version number in both CHANGELOG.md and __init__.py.
Linked GitHub pages as help pages in the web-based UI.
1 parent b06d19b commit 2c68972

File tree

15 files changed

+24
-48
lines changed

15 files changed

+24
-48
lines changed

CHANGELOG.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
1-
# Version 1.3.9
1+
# Version 1.4
2+
## Documentation
3+
- Updates and extension of the documentation.
4+
- GitHub pages are now linked in the web-based interface for help.
25

36
## Parallel Coordinates
47
- Set the margin of the graph so it gets dynamically computed depending on the length of the labels.
58

6-
# Version 1.3.6
7-
89
## New SMAC version compatibility
910
- The smac3v2 converter can now also handle the output of the new smac version
1011

11-
# Version 1.3.5
12-
1312
## Converter
1413
- Added a new converter to handle RayTune runs
1514
- Added example RayTune runs to logs
1615

17-
# Version 1.3.5
18-
1916
## Access Specifier
2017
- Changed access specifier from '_fit' to 'fit' in the RF surrogate
2118

deepcave/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,24 @@
3333
name = "DeepCAVE"
3434
package_name = "deepcave"
3535
author = (
36-
"S. Segel and H. Graf and E. Bergman and K. Thieme and L. Fehring and A. Tornede and "
36+
"S. Segel and H. Graf and E. Bergman and K. Thieme and L. Fehring and M. Wever and A. Tornede and "
3737
"R. Sass and A. Biedenkapp and F. Hutter and M. Lindauer"
3838
)
39-
author_email = "l.fehring@ai.uni-hannover.de"
39+
author_email = "m.wever@ai.uni-hannover.de"
4040
description = "A Visualization and Analysis Tool for Automated Machine Learning."
4141
url = "automl.org"
4242
project_urls = {
4343
"Documentation": "https://automl.github.io/DeepCAVE/main",
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

deepcave/plugins/hyperparameter/symbolic_explanations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class SymbolicExplanations(StaticPlugin):
6767
id = "symbolic_explanations"
6868
name = "Symbolic Explanations"
6969
icon = "fas fa-subscript"
70-
help = "docs/plugins/symbolic_explanations.rst"
70+
help = "plugins/symbolic_explanations.html"
7171
activate_run_selection = True
7272

7373
@staticmethod

0 commit comments

Comments
 (0)