Skip to content

Commit

Permalink
precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
ntalluri committed Dec 23, 2023
1 parent 3df9118 commit 2d67e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spras/analysis/ml.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def summarize_networks(file_paths: Iterable[Union[str, PathLike]]) -> pd.DataFra
concated_df = pd.concat(edge_dataframes, axis=1, join='outer')
concated_df = concated_df.fillna(0)
concated_df = concated_df.astype('int64')

# don't do ml post processing if there is an empty dataframe
if concated_df.empty:
raise ValueError("The summarize network dataFrame is empty.\nEnsure that the output files and configuration parameters are correct and non-empty to produce a non-empty dataframe for ml post processing.")
Expand Down

0 comments on commit 2d67e95

Please sign in to comment.