Fixed the list variable assignment bug in soma.py