A federal judge on Tuesday dismissed claims of racial discrimination while allowing claims of sex discrimination to proceed in a federal civil rights lawsuit regarding a Texas student who has faced suspensions and disciplinary actions over the length of his locs hairstyle.