Hello everyone,
I am currently working with Isight 2022 and using the Script Component to manipulate output matrices from a simulation model. My goal is to create a new matrix and then pass this modified matrix to the Data Matching component within my workflow.
I first defined the matrix using the "Add a new parameter to the list" functionality and then ran my script using the same name of the so-defined matrix. The script appears to create the variable, but when I select the column data in the Data Matching Component, the matrix seems to be still empty.
Code Snippet (Jython):
col_index = 1
multiplicationfactor = 1.5
for row in Step_1__History__RF2_2783:
new_row = row[:] # copy of current row
new_row[col_index] = row[col_index] * multiplicationfactor # modify the y value
ver.append(new_row) # adding value to the new matrix ver
Could anyone provide insights into what might be causing this issue, or suggest the correct procedure for manipulating, saving and passing matrices in Isight using Jython? Any tips on handling these types of data structures or debugging strategies in this environment would be greatly appreciated.
Thank you in advance for your help!
