@Kakofonia,
Kakofonia wrote:And in the end she ends up with one of the guys. All of the other guys are bachelors apart from one of them who used to be married, the oldest of them.
This describes
Ball of Fire, starring Gary Cooper and Barbara Stanwyck, later remade as
A Song is Born with Danny Kaye and Virginia Mayo.
Ball of Fire isn't about scientists raising a child -- it's about compilers of an encyclopedia who "study" a nightclub singer who is hiding out from the cops and, later, from her hoodlum boyfriend.