String alignment with pickup magnets.

How exact do the strings have to be over the magnets of the pickups to actually work?

I ask this because my pickups don't work and I've had a look at the bass and the only thing I can see wrong is the fact that the strings and the magnets in the pickups don't align properly.

Here's a picture for you :
image.jpg