fixed weight assignment bug with run_wsclean()