A federal judge has thrown out the bulk of a former associate’s race-discrimination complaint against Ropes & Gray, but set a November trial date on two retaliation claims.

U.S. District Judge Richard Stearns in Boston on August 16 granted Ropes’ motion for summary judgment regarding John Ray III’s claims of unlawful discrimination; breach of contract and covenant of good faith and fair dealing; and unfair competition by interfering with his opportunity to work at peer firms. He also dismissed Ray’s defamation claim against Joy Curtis, the firm’s former “chief people officer.”