fixing bug in convert spins method
the previous code was failing when the 'spin_1x', etc, columns didn't exist (for obvious reasons). I changed it so that it is checking if that column exist to decide if the spins need to be converted or not.
the previous code was failing when the 'spin_1x', etc, columns didn't exist (for obvious reasons). I changed it so that it is checking if that column exist to decide if the spins need to be converted or not.