We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d13eaf commit d95e39bCopy full SHA for d95e39b
faslr/index/index_matrix.py
@@ -71,7 +71,7 @@ def index_matrix(
71
class IndexMatrixModel(FAbstractTableModel):
72
def __init__(
73
self,
74
- matrix: DataFrame
+ matrix: DataFrame = None
75
):
76
super().__init__()
77
@@ -117,7 +117,13 @@ def __init__(
117
118
119
120
- self.matrix = matrix
+ if matrix:
121
+
122
+ self.matrix = matrix
123
124
+ else:
125
126
+ self.matrix = pd.DataFrame()
127
128
self.layout = QVBoxLayout()
129
0 commit comments