Fix parsing of confidence code when importing SR25

Based on af14b073bba21cbe3f848c393bfee1272fd1d834 by @qpfiffer
Fix length of weight description when importing SR25

Based on 409be586ea42bd7a25cd9de992573b176c10ab11 by @qpfiffer