removing python checks for invalid input
removing checks for ValueError since input tests are on the Scala side