Skip to content

Commit 5c4d45d

Browse files
laraibg786saudz
authored andcommitted
format the codebase using ruff
1 parent 9884531 commit 5c4d45d

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

src/lasso/dimred/dimred_run.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -348,12 +348,10 @@ def __init__(
348348

349349
# parse simulation and reference run
350350
# if no reference run was set use first simulation run
351-
(
352-
self.simulation_runs,
353-
self.reference_run,
354-
self.exclude_runs,
355-
) = self._parse_simulation_and_reference_runs(
356-
simulation_runs, reference_run, () if not exclude_runs else exclude_runs, table
351+
(self.simulation_runs, self.reference_run, self.exclude_runs) = (
352+
self._parse_simulation_and_reference_runs(
353+
simulation_runs, reference_run, () if not exclude_runs else exclude_runs, table
354+
)
357355
)
358356

359357
# check if basename or foldername serves as unique identifier

test/unit_tests/dimred/svd/test_clustering_betas.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ def test_group_betas(self):
2222
fake_betas,
2323
cluster=ClusterType.KMeans,
2424
detector=DetectorType.LocalOutlierFactor,
25-
cluster_params={
26-
"n_clusters": expected_clusters,
27-
},
25+
cluster_params={"n_clusters": expected_clusters},
2826
)
2927

3028
# verify correct type of output

0 commit comments

Comments
 (0)