Trying to create dynamic template repeater through scripting which works fine at some extent. But, can’t seem to add new Row:
Current State of template parameters property of Repeater :
Initialized Value of self.templates - Dataset [4R ⅹ 7C]
[<Row:7 columns>, <Row:7 columns>, <Row:7 columns>, <Row:7 columns>]
Trying to add Following Row:
remix_compound_id, Remix Compound, 4, -1, Dataset [1990R ⅹ 2C], False, ''
But, when I try to Either add with
System.dataset.addRow
or system.dataset.toDataSet(column, rows)
it errors out as :
java.lang.ClassCastException: java.lang.ClassCastException: class org.python.core.PyObjectDerived cannot be cast to class org.python.core.PySequence (org.python.core.PyObjectDerived and org.python.core.PySequence are in unnamed module of loader java.net.URLClassLoader @38a26330)
Any Idea ?
Many thanks in Advance