Skip to content

Commit 2b6f6d4

Browse files
committed
Fix codestyle
1 parent eb98c3a commit 2b6f6d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mudata/_core/mudata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,7 +1466,7 @@ def obs_names_make_unique(self):
14661466
if isinstance(self.mod[k], AnnData):
14671467
self.mod[k].obs_names_make_unique()
14681468
# Only propagate to individual modalities with shared vars
1469-
elif isinstance(self.mod[k], MuData) and getattr(self.mod[k], 'axis', 1) == 1:
1469+
elif isinstance(self.mod[k], MuData) and getattr(self.mod[k], "axis", 1) == 1:
14701470
self.mod[k].obs_names_make_unique()
14711471

14721472
# Check if there are observations with the same name in different modalities
@@ -1603,7 +1603,7 @@ def var_names_make_unique(self):
16031603
if isinstance(self.mod[k], AnnData):
16041604
self.mod[k].var_names_make_unique()
16051605
# Only propagate to individual modalities with shared obs
1606-
elif isinstance(self.mod[k], MuData) and getattr(self.mod[k], 'axis', 0) == 0:
1606+
elif isinstance(self.mod[k], MuData) and getattr(self.mod[k], "axis", 0) == 0:
16071607
self.mod[k].var_names_make_unique()
16081608

16091609
# Check if there are variables with the same name in different modalities

0 commit comments

Comments
 (0)