Skip to content

Commit

Permalink
move paraemters between classes
Browse files Browse the repository at this point in the history
  • Loading branch information
nulinspiratie committed Jun 30, 2024
1 parent a5bb6cb commit 63b1152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quam/components/ports/base_ports.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
@quam_dataclass
class BasePort(QuamComponent, ABC):
port_type: ClassVar[str]
controller_name: str
port_id: int

@abstractmethod
def get_port_config(
Expand Down Expand Up @@ -53,6 +51,8 @@ def apply_to_config(self, config: Dict) -> None:

@quam_dataclass
class OPXPlusPort(BasePort, ABC):
controller_name: str
port_id: int

def get_port_config(
self, config: Dict[str, Any], create: bool = True
Expand Down

0 comments on commit 63b1152

Please sign in to comment.