A lot of pointless debates could have been avoided if people had read Thomas more carefully. I.e. on in what sense humans can do something to prepare to accept grace. This seems to be exactly right to me:
As stated above, grace is taken in two ways: first, as a habitual gift of God. Secondly, as a help from God, Who moves the soul to good. Now taking grace in the first sense, a certain preparation of grace is required for it, since a form can only be in disposed matter. But if we speak of grace as it signifies a help from God to move us to good, no preparation is required on man’s part, that, as it were, anticipates the Divine help, but rather, every preparation in man must be by the help of God moving the soul to good. And thus even the good movement of the free-will, whereby anyone is prepared for receiving the gift of grace is an act of the free-will moved by God. And thus man is said to prepare himself, according to Proverbs 16:1: ”It is the part of man to prepare the soul”; yet it is principally from God, Who moves the free-will. Hence it is said that man’s will is prepared by God, and that man’s steps are guided by God.(I-II, Q112,2)