It doesn’t matter if you connect the wire to the positive (cathode) or the negative (anode) terminal of the battery.
Note that for power sources, the cathode and anode are marked opposite to that of diodes and other electronics. In them, the cathode is the positive terminal and the anode is the negative one.