Skip to content

Commit

Permalink
Rewords a test to work without running on rasp env
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgondu committed Aug 20, 2024
1 parent 90f040d commit 2a5d660
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/poli/tests/registry/proteins/test_rasp.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,7 @@


@pytest.mark.poli__rasp
def test_rasp_on_3ned_against_notebooks_results_on_rasp_env():
import torch

# For us to match what the notebook says, we have
# to run at double precision.
torch.set_default_dtype(torch.float64)

def test_rasp_on_3ned_against_notebooks_results():
# If the previous import was successful, we can
# create a RaSP problem:
problem = objective_factory.create(
Expand Down Expand Up @@ -85,12 +79,6 @@ def test_rasp_on_3ned_against_notebooks_results_isolated():

@pytest.mark.poli__rasp
def test_rasp_using_additive_flag_on_two_mutations():
import torch

# For us to match what the notebook says, we have
# to run at double precision.
torch.set_default_dtype(torch.float64)

# If the previous import was successful, we can
# create a RaSP problem:
problem = objective_factory.create(
Expand Down

0 comments on commit 2a5d660

Please sign in to comment.