Skip to content

Commit

Permalink
All work as intended
Browse files Browse the repository at this point in the history
  • Loading branch information
KrissiHub committed Feb 28, 2024
1 parent 9c0fabe commit c00d83a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions deepcave/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ def __call__(self, render_button: bool = False) -> List[Component]:
Layout as list of components.
"""
from deepcave import c, notification
print(self.__class__)

# Reset runtime variables
self.previous_inputs = {}
self.raw_outputs = None
Expand Down Expand Up @@ -800,7 +800,6 @@ def __call__(self, render_button: bool = False) -> List[Component]:
]
else:
components += [html.H1(self.name)]

try:
self.check_runs_compatibility(self.all_runs)
except NotMergeableError as message:
Expand Down
1 change: 1 addition & 0 deletions deepcave/plugins/hyperparameter/pdp.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ def load_dependency_inputs(self, run, previous_inputs, inputs):
@staticmethod
def process(run, inputs):
# Surrogate
print("Process PDP has been called.")
hp_names = run.configspace.get_hyperparameter_names()
objective = run.get_objective(inputs["objective_id"])
budget = run.get_budget(inputs["budget_id"])
Expand Down
1 change: 0 additions & 1 deletion deepcave/plugins/objective/cost_over_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class CostOverTime(DynamicPlugin):
help = "docs/plugins/cost_over_time.rst"

def check_runs_compatibility(self, runs: List[AbstractRun]) -> None:
print("check_runs_compatibility in CoT has been called.")
try:
check_equality(runs, objectives=True, budgets=True)
except NotMergeableError as e:
Expand Down

0 comments on commit c00d83a

Please sign in to comment.