We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 846978a commit 1a2f509Copy full SHA for 1a2f509
NRSAcore/_Win.py
@@ -309,9 +309,9 @@ def L2_to_L1(self,
309
# L1的行数与ls_SDOF的长度必须相等,保证结果与id一一对应
310
self.logger.error(f'results_L2的长度({len(results_L2)})与ls_SDOF({len(ls_SDOF)})不一致')
311
raise SDOFError('_Win.py, _write_results, Error - 1')
312
- for id_ in ls_SDOF:
+ for i, id_ in enumerate(ls_SDOF): # DEBUG: 待确认
313
idx = id_ - 1
314
- self.results_L1[idx, 1:] = results_L2[idx] # L2写入L1
+ self.results_L1[idx, 1:] = results_L2[i] # L2写入L1 # DEBUG: 待确认
315
except Exception as error:
316
self.lock.release()
317
return error
0 commit comments