Bug fix to star formation spart writting
I just saw that I made a mistake in the io code that didn't appear clearly in the case of the example I ran.
I just saw that I made a mistake in the io code that didn't appear clearly in the case of the example I ran.