Skip to content

Commit a3fa53f

Browse files
committed
Revert "Increased version number in both CHANGELOG.md and __init__.py."
This reverts commit 2c68972.
1 parent 2c68972 commit a3fa53f

File tree

15 files changed

+48
-24
lines changed

15 files changed

+48
-24
lines changed

CHANGELOG.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
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.
1+
# Version 1.3.9
52

63
## Parallel Coordinates
74
- Set the margin of the graph so it gets dynamically computed depending on the length of the labels.
85

6+
# Version 1.3.6
7+
98
## New SMAC version compatibility
109
- The smac3v2 converter can now also handle the output of the new smac version
1110

11+
# Version 1.3.5
12+
1213
## Converter
1314
- Added a new converter to handle RayTune runs
1415
- Added example RayTune runs to logs
1516

17+
# Version 1.3.5
18+
1619
## Access Specifier
1720
- Changed access specifier from '_fit' to 'fit' in the RF surrogate
1821

deepcave/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,23 @@
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 M. Wever and A. Tornede and "
36+
"S. Segel and H. Graf and E. Bergman and K. Thieme and L. Fehring and A. Tornede and "
3737
"R. Sass and A. Biedenkapp and F. Hutter and M. Lindauer"
3838
)
39-
author_email = "m.wever@ai.uni-hannover.de"
39+
author_email = "l.fehring@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.4"
47+
version = "1.3.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/"
5453

5554

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

deepcave/plugins/__init__.py

Lines changed: 26 additions & 4 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, DOC_ROOT, interactive
40+
from deepcave import ROOT_DIR, interactive
4141
from deepcave.layouts import Layout
4242
from deepcave.runs import AbstractRun
4343
from deepcave.runs.group import Group, NotMergeableError
@@ -856,23 +856,45 @@ def __call__(self, render_button: bool = False) -> List[Component]:
856856
components = []
857857

858858
if self.help is not None:
859-
doc_path = DOC_ROOT + self.help
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+
860883
components += [
861884
html.H1(
862885
[
863886
html.Span(self.name),
864887
dbc.Button(
865888
[html.I(className="far fa-question-circle")],
866889
id=self.get_internal_id("show_help"),
867-
href=doc_path,
868-
target="_blank",
869890
style={"float": "right"},
870891
color="primary",
871892
outline=True,
872893
n_clicks=0,
873894
),
874895
]
875896
),
897+
modal,
876898
]
877899
else:
878900
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 = "plugins/budget_correlation.html"
57+
help = "docs/plugins/budget_correlation.rst"
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 = "plugins/ablation_paths.html"
62+
help = "docs/plugins/ablation_paths.rst"
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 = "plugins/configuration_cube.html"
63+
help = "docs/plugins/configuration_cube.rst"
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 = "plugins/importances.html"
69+
help = "docs/plugins/importances.rst"
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 = "plugins/parallel_coordinates.html"
56+
help = "docs/plugins/parallel_coordinates.rst"
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 = "plugins/partial_dependencies.html"
66+
help = "docs/plugins/partial_dependencies.rst"
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 = "plugins/symbolic_explanations.html"
70+
help = "docs/plugins/symbolic_explanations.rst"
7171
activate_run_selection = True
7272

7373
@staticmethod

0 commit comments

Comments
 (0)