Skip to content

Commit

Permalink
Working to update tesing
Browse files Browse the repository at this point in the history
  • Loading branch information
joyvelasquez committed Jul 18, 2023
1 parent 8ee5c8e commit dbc8f0b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions xrtpy/response/tests/test_temperature_response.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import pytest

from datetime import datetime
from pathlib import Path

import pytest

from xrtpy.response.temperature_response import TemperatureResponseFundamental

_abundance_model_IDL_test_file_path = {
Expand Down Expand Up @@ -91,10 +91,7 @@ def test_temperature_response(filename, allclose):
filter_name, filter_obs_date, abundance_model="coronal"
)
actual_temperature_response = instance.temperature_response()
atol = actual_temperature_response.value.max() * 0.013

assert allclose(
actual_temperature_response.value,
IDL_temperature_response,
rtol=0.028,
atol=atol,
actual_temperature_response.value, IDL_temperature_response, rtol=1e-6
)

0 comments on commit dbc8f0b

Please sign in to comment.