A strong finish from Canada's Olympic 200m silver medallist Andre de Grasse earned him victory in a meeting record of 20.03 after he had overhauled the American Trials victor, Ameer Webb, who finished second in 20.18 in front of Britain's Zharnel Hughes.
The Canadian sprint sensational smashed the meeting record in Morocco by clocking 20.03 seconds to earn eight points and ensure he will line up for a showdown in Zurich in September.
"I was pushed in the bend but I wanted to finish strong today and to stay relaxed. This was a race to tune-up for the world championships and it went pretty well".
Ujah also won the 100m at the Rome and London meetings this year.
Semenya‚ unbeaten in 25 races over two laps‚ ended second last in a slow 51.53sec - more than a second off her 50.40 personal best and way behind Miller-Uibo‚ the victor in 49.44.
"I'm pleased with my race", Thompson said. "I can run, but I do not want to risk it", he said.
Ivorian Ben Youssef Meite was second in 10.01, while another Britain, Nethaneel Mitchell-Blake, was some way off the pace in third in a time of 10.18.
Panasonic Launches P55 Max With 5000 mAh Battery
The long lasting 5000mAh battery further ensures the seamless functioning without interruptions. Also, there is a 5MP selfie camera on board in order to click selfies and make video calls.
Abdalaati Iguider finished off the meeting with a second success of the night for Morocco in the 3000m after his compatriot Soufiane El Bakkali won the 3000m steeplechase in a personal-best time of 8:05.12.
South Africans did have something to celebrate in the Moroccan capital after Rushwal Samaai (8.35m) edged out the competition in the men's long jump, just ahead of Jarrion Lawson (8.33) and Yahya Berrabah (8.14).
The race was won by Shaunae Miller-Uibo of the Bahamas, who is now assured of a spot in the Diamond League final.
Semenya boasts the fastest two-lap time this season with the 1:56.61 she ran at the Doha Diamond League in May.
Wojciechowski showed that he is a dark horse to win the world title again next month.
"I'm hoping to arrive at the worlds at my top level", said Ibarguen. Nijel Amos of Botswana won the gold with 1:43.91. Kenyan Kipyegon Bett (1:44.28) came in second, with absent Olympic champion David Rudisha waiting for them in London.
Olympic champion keen to continue good form in Diamond League.