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 ab90565 commit a92723aCopy full SHA for a92723a
drishti/handlers/darshan_util.py
@@ -645,7 +645,10 @@ def file_not_aligned(self) -> int:
645
def lustre_df(self) -> Optional[pd.DataFrame]:
646
if "LUSTRE" not in self.modules:
647
return None
648
- return pd.DataFrame(self.report.records["LUSTRE"].to_df())
+ lustre_dict = self.report.records["LUSTRE"].to_df()
649
+ assert len(lustre_dict) == 1, f"Expected 1 data frame for LUSTRE, got {len(self.report.records['LUSTRE'].to_df())}"
650
+ lustre_df = lustre_dict["components"]
651
+ return lustre_df
652
653
@cached_property
654
def max_read_offset(self) -> int:
0 commit comments