A real scientist wouldn't think that way.

Literal

True [possessive-の] scientist if that-way [topic-には] think not.

そういう風に ('in that way') — そういう ('that kind of') + 風 ('manner/style') + に (adverbial). ~なら conditional again — 'if you're a real scientist, you wouldn't think like that.'