String Enumeration "List indices must be numeric"

I have run into an issue, I am getting a “List indices must be numeric” warning in Design Script (CodeBlock). As far as I can see I have indicies that are numeric. Can anyone proffer a solution/work around ?

The error refers to [“Gene”]
This used to work in earlier versions but is now replaced by the Dictionary functionality
See if this suggestion below works for you …

Thanks Vikram - it works wonderfully. I always revert to Design Script when I’m doing something new, perhaps I should change my outlook !

I’d be the last to discourage you :slight_smile:
This can be done with Design Script too. It’s just that the syntax has been altered