Hamilton kept their promotion hopes in their own hands after a 2-0 win over second-placed Morton.
Steven May netted both goals to keep the Accies in fourth place and they will secure a play-off place if they beat Cowdenbeath at home on Saturday.
Alex Neil's side could have gone ahead in the 22nd minute but Alister Crawford could only head wide after he was found in the area by May's cross.
But the miss proved not to be costly as the duo combined again in the 29th minute to give the Accies the lead. Crawford found May just inside the area and the striker curled an effort into the top right corner.
The visitors doubled their lead 10 minutes after the break as Michael Devlin flicked on Crawford's corner and May was on hand to bundle the ball over the line for his second of the contest.