Skip to content

Commit e5bb624

Browse files
committed
Pass flake8
1 parent f925a94 commit e5bb624

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

src/diffupy/process_input.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,17 @@ def generate_categoric_input_vector_from_labels(
1616
if isinstance(col_label, str):
1717
col_label = [col_label]
1818

19-
input_mat = Matrix(rows_labels=list(rows_labeled),
20-
cols_labels=col_label,
21-
init_value=1)
19+
input_mat = Matrix(
20+
rows_labels=list(rows_labeled),
21+
cols_labels=col_label,
22+
init_value=1)
2223
if rows_unlabeled:
23-
input_mat.row_bind(matrix=Matrix(rows_labels=list(rows_unlabeled),
24-
cols_labels=col_label,
25-
init_value=0)
26-
)
24+
input_mat.row_bind(
25+
matrix=Matrix(
26+
rows_labels=list(rows_unlabeled),
27+
cols_labels=col_label,
28+
init_value=0)
29+
)
2730

2831
return input_mat.match_missing_rows(background_mat.rows_labels, missing_value).match_rows(background_mat)
2932

0 commit comments

Comments
 (0)