We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f69aa1 commit 369398aCopy full SHA for 369398a
cape/cfdx/casedata.py
@@ -1129,7 +1129,6 @@ def apply_mask_iters(self, mask: np.ndarray):
1129
"""
1130
# Find appropriate columns
1131
cols = self.get_cols_parent(CASE_COL_ITERS)
1132
- cols.append(CASE_COL_ITERS)
1133
# Apply mask to each
1134
for col in cols:
1135
self[col] = self[col][mask]
@@ -1160,7 +1159,7 @@ def get_cols_parent(self, col: str) -> list:
1160
1159
# Loop through cols
1161
for colj, vj in self.items():
1162
# Get parent
1163
- parent = parents.get(colj, "")
+ parent = parents.get(colj, colj)
1164
# Check
1165
if (parent == col) and (len(vj) == n):
1166
cols.append(colj)
0 commit comments