Loading csst_common/file_recorder.py +8 −0 Original line number Diff line number Diff line Loading @@ -91,3 +91,11 @@ class FileRecorder(list): if outs['show_length']: lines.append(f'Length = {len(self)} rows') return "\n".join(lines) @property def summary(self): return f"(" \ f"{len(self)} alleged, " \ f"{len(self) - sum(self.to_table()['existence'])} missing, " \ f"{sum(self.to_table()['existence'])} to be pushed" \ f")" Loading
csst_common/file_recorder.py +8 −0 Original line number Diff line number Diff line Loading @@ -91,3 +91,11 @@ class FileRecorder(list): if outs['show_length']: lines.append(f'Length = {len(self)} rows') return "\n".join(lines) @property def summary(self): return f"(" \ f"{len(self)} alleged, " \ f"{len(self) - sum(self.to_table()['existence'])} missing, " \ f"{sum(self.to_table()['existence'])} to be pushed" \ f")"