Skip to content

Fix memory issue with writing equilibrium tidal power #96

Fix memory issue with writing equilibrium tidal power

Fix memory issue with writing equilibrium tidal power #96

GitHub Actions / Test Results failed Mar 4, 2024 in 0s

6 fail, 17 626 pass in 3m 25s

17 632 tests   17 626 ✅  3m 25s ⏱️
     1 suites       0 💤
     1 files         6 ❌

Results for commit 9e98017.

Annotations

Check warning on line 0 in tests.DistorbEqtide.CPL_RD4.test_ApseLock.Test_ApseLock

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_benchmark[log.initial.star.EqTidePower-0.0-unit63-param_options63] (tests.DistorbEqtide.CPL_RD4.test_ApseLock.Test_ApseLock) failed

junit/test-results.xml [took 0s]
Raw output
AssertionError
self = <test_ApseLock.Test_ApseLock object at 0x7f3642e138e0>
vplanet_output = <vplanet.Output: ApseLock>
param = 'log.initial.star.EqTidePower', value = 0.0
unit = <Quantity 1. 1 / sec>, param_options = {}

    def test_benchmark(self, vplanet_output, param, value, unit, param_options):
        # The value returned by vplanet
        output_value = recursive_getattr(vplanet_output, param)
    
        # Are we comparing a specific index of an array?
        index = param_options.pop("index", None)
        if index is not None:
            output_value = output_value[index]
    
        # The expected value
        benchmark_value = value * unit
    
        # Check
        if np.allclose(output_value, benchmark_value, **param_options) == 0:
            print(
                "Standard: " + repr(benchmark_value) + ", Trial: " + repr(output_value)
            )
>           assert False
E           AssertionError

tests/benchmark.py:35: AssertionError

Check warning on line 0 in tests.DistorbEqtide.CPL_RD4.test_ApseLock.Test_ApseLock

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_benchmark[log.initial.b.EqTidePower--0.0-unit151-param_options151] (tests.DistorbEqtide.CPL_RD4.test_ApseLock.Test_ApseLock) failed

junit/test-results.xml [took 0s]
Raw output
AssertionError
self = <test_ApseLock.Test_ApseLock object at 0x7f3642ee7b20>
vplanet_output = <vplanet.Output: ApseLock>, param = 'log.initial.b.EqTidePower'
value = -0.0, unit = <Quantity 1. 1 / sec>, param_options = {}

    def test_benchmark(self, vplanet_output, param, value, unit, param_options):
        # The value returned by vplanet
        output_value = recursive_getattr(vplanet_output, param)
    
        # Are we comparing a specific index of an array?
        index = param_options.pop("index", None)
        if index is not None:
            output_value = output_value[index]
    
        # The expected value
        benchmark_value = value * unit
    
        # Check
        if np.allclose(output_value, benchmark_value, **param_options) == 0:
            print(
                "Standard: " + repr(benchmark_value) + ", Trial: " + repr(output_value)
            )
>           assert False
E           AssertionError

tests/benchmark.py:35: AssertionError

Check warning on line 0 in tests.DistorbEqtide.CPL_RD4.test_ApseLock.Test_ApseLock

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_benchmark[log.initial.c.EqTidePower-0.0-unit244-param_options244] (tests.DistorbEqtide.CPL_RD4.test_ApseLock.Test_ApseLock) failed

junit/test-results.xml [took 0s]
Raw output
AssertionError
self = <test_ApseLock.Test_ApseLock object at 0x7f3642d20160>
vplanet_output = <vplanet.Output: ApseLock>, param = 'log.initial.c.EqTidePower'
value = 0.0, unit = <Quantity 1. 1 / sec>, param_options = {}

    def test_benchmark(self, vplanet_output, param, value, unit, param_options):
        # The value returned by vplanet
        output_value = recursive_getattr(vplanet_output, param)
    
        # Are we comparing a specific index of an array?
        index = param_options.pop("index", None)
        if index is not None:
            output_value = output_value[index]
    
        # The expected value
        benchmark_value = value * unit
    
        # Check
        if np.allclose(output_value, benchmark_value, **param_options) == 0:
            print(
                "Standard: " + repr(benchmark_value) + ", Trial: " + repr(output_value)
            )
>           assert False
E           AssertionError

tests/benchmark.py:35: AssertionError

Check warning on line 0 in tests.DistorbEqtide.CPL_RD4.test_ApseLock.Test_ApseLock

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_benchmark[log.final.star.EqTidePower-0.0-unit329-param_options329] (tests.DistorbEqtide.CPL_RD4.test_ApseLock.Test_ApseLock) failed

junit/test-results.xml [took 0s]
Raw output
AssertionError
self = <test_ApseLock.Test_ApseLock object at 0x7f3642d44160>
vplanet_output = <vplanet.Output: ApseLock>
param = 'log.final.star.EqTidePower', value = 0.0, unit = <Quantity 1. 1 / sec>
param_options = {'rtol': 0.0001}

    def test_benchmark(self, vplanet_output, param, value, unit, param_options):
        # The value returned by vplanet
        output_value = recursive_getattr(vplanet_output, param)
    
        # Are we comparing a specific index of an array?
        index = param_options.pop("index", None)
        if index is not None:
            output_value = output_value[index]
    
        # The expected value
        benchmark_value = value * unit
    
        # Check
        if np.allclose(output_value, benchmark_value, **param_options) == 0:
            print(
                "Standard: " + repr(benchmark_value) + ", Trial: " + repr(output_value)
            )
>           assert False
E           AssertionError

tests/benchmark.py:35: AssertionError

Check warning on line 0 in tests.DistorbEqtide.CPL_RD4.test_ApseLock.Test_ApseLock

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_benchmark[log.final.b.EqTidePower-0.0-unit417-param_options417] (tests.DistorbEqtide.CPL_RD4.test_ApseLock.Test_ApseLock) failed

junit/test-results.xml [took 0s]
Raw output
AssertionError
self = <test_ApseLock.Test_ApseLock object at 0x7f3642d743a0>
vplanet_output = <vplanet.Output: ApseLock>, param = 'log.final.b.EqTidePower'
value = 0.0, unit = <Quantity 1. 1 / sec>, param_options = {'rtol': 0.0001}

    def test_benchmark(self, vplanet_output, param, value, unit, param_options):
        # The value returned by vplanet
        output_value = recursive_getattr(vplanet_output, param)
    
        # Are we comparing a specific index of an array?
        index = param_options.pop("index", None)
        if index is not None:
            output_value = output_value[index]
    
        # The expected value
        benchmark_value = value * unit
    
        # Check
        if np.allclose(output_value, benchmark_value, **param_options) == 0:
            print(
                "Standard: " + repr(benchmark_value) + ", Trial: " + repr(output_value)
            )
>           assert False
E           AssertionError

tests/benchmark.py:35: AssertionError

Check warning on line 0 in tests.DistorbEqtide.CPL_RD4.test_ApseLock.Test_ApseLock

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_benchmark[log.final.c.EqTidePower-0.0-unit510-param_options510] (tests.DistorbEqtide.CPL_RD4.test_ApseLock.Test_ApseLock) failed

junit/test-results.xml [took 0s]
Raw output
AssertionError
self = <test_ApseLock.Test_ApseLock object at 0x7f3642d289a0>
vplanet_output = <vplanet.Output: ApseLock>, param = 'log.final.c.EqTidePower'
value = 0.0, unit = <Quantity 1. 1 / sec>, param_options = {'rtol': 0.0001}

    def test_benchmark(self, vplanet_output, param, value, unit, param_options):
        # The value returned by vplanet
        output_value = recursive_getattr(vplanet_output, param)
    
        # Are we comparing a specific index of an array?
        index = param_options.pop("index", None)
        if index is not None:
            output_value = output_value[index]
    
        # The expected value
        benchmark_value = value * unit
    
        # Check
        if np.allclose(output_value, benchmark_value, **param_options) == 0:
            print(
                "Standard: " + repr(benchmark_value) + ", Trial: " + repr(output_value)
            )
>           assert False
E           AssertionError

tests/benchmark.py:35: AssertionError