Currently we raise a value error if the init_energy is positive. We also need to account for the scenario where protein.setup_simulation() returns a NaN init energy and an OpenMMExceptions is raised. This PR ensures that the OpenMMException is caught, so proteins with Nan init energies dont make their way to the miners.
Currently we raise a value error if the init_energy is positive. We also need to account for the scenario where protein.setup_simulation() returns a NaN init energy and an OpenMMExceptions is raised. This PR ensures that the OpenMMException is caught, so proteins with Nan init energies dont make their way to the miners.