Loading DMT/core/data_frame.py +8 −7 Original line number Diff line number Diff line Loading @@ -2496,6 +2496,7 @@ class DataFrame(DataProcessor, pd.DataFrame): return df def df_concat(*frames): frame = pd.concat(frames, axis=0, ignore_index=True) frame.__class__ == DataFrame Loading DMT/core/database_manager.py +9 −2 Original line number Diff line number Diff line Loading @@ -202,7 +202,14 @@ class DatabaseManager(object, metaclass=Singleton): db_dir.unlink(missing_ok=True) def save_df(self, df:DataFrame|pd.DataFrame, file_name:str|os.PathLike, version=2, compression="lz4", **kwargs): def save_df( self, df: DataFrame | pd.DataFrame, file_name: str | os.PathLike, version=2, compression="lz4", **kwargs ): """Save the data stored in df as file_name, where file_name is the direct path to the file. Parameters Loading DMT/core/docu_dut_lib.py +5 −2 Original line number Diff line number Diff line Loading @@ -514,7 +514,10 @@ class DocuDutLib(object): if not plot_spec["dut_filter"](dut): continue elif "dut_type" in plot_spec: if not (dut.dut_type.is_subtype(plot_spec["dut_type"]) or (dut.dut_type == plot_spec["dut_type"])): if not ( dut.dut_type.is_subtype(plot_spec["dut_type"]) or (dut.dut_type == plot_spec["dut_type"]) ): continue if obtain(plot_spec, "simulate", dut.dut_type, plot_type, True): Loading DMT/core/dut_type.py +1 −2 Original line number Diff line number Diff line Loading @@ -154,8 +154,7 @@ class DutTypeInt(object): return res == other def __lt__(self, other): """ comparision for Sorting! """ """comparision for Sorting!""" try: return DutTypeInt(self.value < other.value, string=self.get_string(), nodes=self.nodes) except AttributeError: Loading Loading
DMT/core/data_frame.py +8 −7 Original line number Diff line number Diff line Loading @@ -2496,6 +2496,7 @@ class DataFrame(DataProcessor, pd.DataFrame): return df def df_concat(*frames): frame = pd.concat(frames, axis=0, ignore_index=True) frame.__class__ == DataFrame Loading
DMT/core/database_manager.py +9 −2 Original line number Diff line number Diff line Loading @@ -202,7 +202,14 @@ class DatabaseManager(object, metaclass=Singleton): db_dir.unlink(missing_ok=True) def save_df(self, df:DataFrame|pd.DataFrame, file_name:str|os.PathLike, version=2, compression="lz4", **kwargs): def save_df( self, df: DataFrame | pd.DataFrame, file_name: str | os.PathLike, version=2, compression="lz4", **kwargs ): """Save the data stored in df as file_name, where file_name is the direct path to the file. Parameters Loading
DMT/core/docu_dut_lib.py +5 −2 Original line number Diff line number Diff line Loading @@ -514,7 +514,10 @@ class DocuDutLib(object): if not plot_spec["dut_filter"](dut): continue elif "dut_type" in plot_spec: if not (dut.dut_type.is_subtype(plot_spec["dut_type"]) or (dut.dut_type == plot_spec["dut_type"])): if not ( dut.dut_type.is_subtype(plot_spec["dut_type"]) or (dut.dut_type == plot_spec["dut_type"]) ): continue if obtain(plot_spec, "simulate", dut.dut_type, plot_type, True): Loading
DMT/core/dut_type.py +1 −2 Original line number Diff line number Diff line Loading @@ -154,8 +154,7 @@ class DutTypeInt(object): return res == other def __lt__(self, other): """ comparision for Sorting! """ """comparision for Sorting!""" try: return DutTypeInt(self.value < other.value, string=self.get_string(), nodes=self.nodes) except AttributeError: Loading