See this sort of reminds me of the arguments over free will/neurology and criminal justice. The idea is basically as we continue to have an increased understanding of the brain, we may find ourselves in a position where most criminals are predictable based on their neurology and thus the moral culpability for their crimes comes into question.
My thing is, I think of prison not just as punishment but as a place for dangerous people. If a person is dangerous because of diminished capacity or whatever it is, then I don't want them on the streets. If it is a temporary state or something that can be cured, then I'm more open to that. But like most people I am somewhat nervous about the implications of that/how far we're gonna take that line of thinking.