The Code of Criminal Procedure of 1963 is amended by changing section 122-1 (725 ILCS 5/122-1) to allow for petitions in the trial court for those imprisoned that can establish their participation in a felony was a direct result of post-partum depression or psychosis, or if no direct evidence of these mental states was presented at trial or sentencing.