Buses will replace trains until the work is completed