Skip to content

Commit

Permalink
Revert "add fix"
Browse files Browse the repository at this point in the history
This reverts commit 3d9f043.
  • Loading branch information
lilyminium committed Jan 21, 2025
1 parent d1a94cb commit 79a8bea
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions openff/evaluator/layers/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import abc
import collections
import logging
import math
from os import path

from openff.units import unit
Expand Down Expand Up @@ -306,17 +305,14 @@ def _process_results(results_future, batch, layer_name, storage_backend, callbac
returned_output.physical_property.__class__.__name__
][layer_name]

input_uncertainty = matches[0].uncertainty
if input_uncertainty == UNDEFINED:
input_uncertainty = math.inf * matches[0].value.unit
if (
options.absolute_tolerance != UNDEFINED
and options.absolute_tolerance < uncertainty
):
continue
elif (
options.relative_tolerance != UNDEFINED
and options.relative_tolerance * input_uncertainty < uncertainty
and options.relative_tolerance * uncertainty < uncertainty
):
continue

Expand Down

0 comments on commit 79a8bea

Please sign in to comment.