Skip to content

Commit

Permalink
update pixi.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
blooop committed Jun 6, 2024
1 parent f26a204 commit b48500a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 6 additions & 3 deletions bencher/bencher.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from datetime import datetime
from itertools import product, combinations

from typing import Callable, List,Optional
from typing import Callable, List, Optional
from copy import deepcopy
import numpy as np
import param
Expand Down Expand Up @@ -487,8 +487,11 @@ def run_sweep(
return bench_res

def convert_vars_to_params(
self, variable: param.Parameter | str | dict | tuple, var_type: str, run_cfg:Optional[ BenchRunCfg]
)->param.Parameter :
self,
variable: param.Parameter | str | dict | tuple,
var_type: str,
run_cfg: Optional[BenchRunCfg],
) -> param.Parameter:
"""check that a variable is a subclass of param
Args:
Expand Down
3 changes: 1 addition & 2 deletions bencher/variables/inputs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from enum import Enum
from typing import List, Any
from typing import List, Any,Dict

import numpy as np
from param import Integer, Number, Selector
Expand Down Expand Up @@ -174,7 +174,6 @@ def box(name, center, width):
return var


from typing import Any, Dict, List


def p(name: str, values: List[Any] = None, max_level: int = None) -> Dict[str, Any]:
Expand Down

0 comments on commit b48500a

Please sign in to comment.