Skip to content

Commit af6af11

Browse files
authored
Update factor_runner.py to ignore failed implementation (microsoft#514)
1 parent 4395fe0 commit af6af11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdagent/scenarios/qlib/developer/factor_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def process_factor_data(self, exp_or_list: List[QlibFactorExperiment] | QlibFact
135135
for exp in exp_or_list:
136136
# Iterate over sub-implementations and execute them to get each factor data
137137
message_and_df_list = multiprocessing_wrapper(
138-
[(implementation.execute, ("All",)) for implementation in exp.sub_workspace_list],
138+
[(implementation.execute, ("All",)) for implementation in exp.sub_workspace_list if implementation],
139139
n=RD_AGENT_SETTINGS.multi_proc_n,
140140
)
141141
for message, df in message_and_df_list:

0 commit comments

Comments
 (0)