A code 1 is an early distribution subject to the 10% penalty. A code 7 is not.
Where do you see the penalty for the code 7?
Look on schedule 2 line 6.
**Disclaimer: This post is for discussion purposes only and is NOT tax advice. The author takes no responsibility for the accuracy of any information in this post.**