Hey yoganath...Hope you are doing well!!
The magnet didn't attract the current carrying wire because a magnet sitting next to a wire doesn't induce a current in the wire because the magnet is very small and short compared to the coil radius.
Hope this helps you
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile