Update factor_runner.py to ignore failed implementation (#514)

This commit is contained in:
Xu Yang
2025-01-02 23:29:52 +08:00
committed by GitHub
parent 09803d98d8
commit a1865dd6d5
@@ -135,7 +135,7 @@ class QlibFactorRunner(CachedRunner[QlibFactorExperiment]):
for exp in exp_or_list:
# Iterate over sub-implementations and execute them to get each factor data
message_and_df_list = multiprocessing_wrapper(
[(implementation.execute, ("All",)) for implementation in exp.sub_workspace_list],
[(implementation.execute, ("All",)) for implementation in exp.sub_workspace_list if implementation],
n=RD_AGENT_SETTINGS.multi_proc_n,
)
for message, df in message_and_df_list: