Skip to content

Commit

Permalink
oops typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fsoubelet committed Sep 18, 2024
1 parent a60d44d commit 3700163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omc3/run_kmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def create_lsa_results_file(betastar_required, instruments_found, results_df, in
# We first make sure we don't try a concat operation if a df is empty
# (otherwise pandas complains with a FutureWarning since 2.1.1)
dfs_to_concat = [lsa_results_df, instrument_beta_df]
dfs_to_concat = [df for df in dfs_to_concat if not df.empty()]
dfs_to_concat = [df for df in dfs_to_concat if not df.empty]

# We will raise for the user if there is no data in the DFs
if not len(dfs_to_concat):
Expand Down

0 comments on commit 3700163

Please sign in to comment.