Skip to content

Commit ba9de36

Browse files
committed
lint base file f
1 parent 41d40a4 commit ba9de36

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

chebai_graph/models/base.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@ class GraphNetWrapper(GraphBaseNet, ABC):
7474
"""
7575

7676
def __init__(
77-
self, config: dict, n_linear_layers: int, n_molecule_properties: Optional[int] = 0, **kwargs
77+
self,
78+
config: dict,
79+
n_linear_layers: int,
80+
n_molecule_properties: Optional[int] = 0,
81+
**kwargs,
7882
) -> None:
7983
"""
8084
Initialize the GNN and linear layers.
@@ -91,7 +95,9 @@ def __init__(
9195
self.activation = torch.nn.ELU
9296
self.lin_input_dim = self._get_lin_seq_input_dim(
9397
gnn_out_dim=gnn_out_dim,
94-
n_molecule_properties=n_molecule_properties if n_molecule_properties is not None else 0,
98+
n_molecule_properties=(
99+
n_molecule_properties if n_molecule_properties is not None else 0
100+
),
95101
)
96102

97103
lin_hidden_dim = kwargs.get("lin_hidden_dim", gnn_out_dim)

0 commit comments

Comments
 (0)