Skip to content

test_ukf #8

@dhblum

Description

@dhblum

Running estimationpy/tests/test_ukf.py results in:

======================================================================
ERROR: test_chol_update (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_ukf.py", line 292, in test_chol_update
    self.set_first_order_model_input_outputs()
  File "test_ukf.py", line 86, in set_first_order_model_input_outputs
    input_u.get_csv_reader().open_csv(csvPath)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 163, in open_csv
    df = self.__open_csv__(filename)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 123, in __open_csv__
    df.sort(inplace = True)
  File "/home/dhbubu/.local/lib/python2.7/site-packages/pandas/core/generic.py", line 3614, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'sort'

======================================================================
ERROR: test_create_sigma_points (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_ukf.py", line 357, in test_create_sigma_points
    self.set_first_order_model_input_outputs()
  File "test_ukf.py", line 86, in set_first_order_model_input_outputs
    input_u.get_csv_reader().open_csv(csvPath)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 163, in open_csv
    df = self.__open_csv__(filename)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 123, in __open_csv__
    df.sort(inplace = True)
  File "/home/dhbubu/.local/lib/python2.7/site-packages/pandas/core/generic.py", line 3614, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'sort'

======================================================================
ERROR: test_instantiate_UKF (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_ukf.py", line 198, in test_instantiate_UKF
    self.set_first_order_model_input_outputs()
  File "test_ukf.py", line 86, in set_first_order_model_input_outputs
    input_u.get_csv_reader().open_csv(csvPath)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 163, in open_csv
    df = self.__open_csv__(filename)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 123, in __open_csv__
    df.sort(inplace = True)
  File "/home/dhbubu/.local/lib/python2.7/site-packages/pandas/core/generic.py", line 3614, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'sort'

======================================================================
ERROR: test_project_sigma_points (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_ukf.py", line 396, in test_project_sigma_points
    self.set_first_order_model_input_outputs(noisy = False)
  File "test_ukf.py", line 86, in set_first_order_model_input_outputs
    input_u.get_csv_reader().open_csv(csvPath)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 163, in open_csv
    df = self.__open_csv__(filename)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 123, in __open_csv__
    df.sort(inplace = True)
  File "/home/dhbubu/.local/lib/python2.7/site-packages/pandas/core/generic.py", line 3614, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'sort'

======================================================================
ERROR: test_ukf_filter_first_order (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_ukf.py", line 436, in test_ukf_filter_first_order
    self.set_first_order_model_input_outputs()
  File "test_ukf.py", line 86, in set_first_order_model_input_outputs
    input_u.get_csv_reader().open_csv(csvPath)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 163, in open_csv
    df = self.__open_csv__(filename)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 123, in __open_csv__
    df.sort(inplace = True)
  File "/home/dhbubu/.local/lib/python2.7/site-packages/pandas/core/generic.py", line 3614, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'sort'

======================================================================
ERROR: test_ukf_smoother_valve (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_ukf.py", line 505, in test_ukf_smoother_valve
    self.set_valve_model_input_outputs()
  File "test_ukf.py", line 109, in set_valve_model_input_outputs
    input.get_csv_reader().open_csv(csvPath)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 163, in open_csv
    df = self.__open_csv__(filename)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 123, in __open_csv__
    df.sort(inplace = True)
  File "/home/dhbubu/.local/lib/python2.7/site-packages/pandas/core/generic.py", line 3614, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'sort'

======================================================================
ERROR: test_vector_and_matrix_operations (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_ukf.py", line 253, in test_vector_and_matrix_operations
    self.set_first_order_model_input_outputs()
  File "test_ukf.py", line 86, in set_first_order_model_input_outputs
    input_u.get_csv_reader().open_csv(csvPath)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 163, in open_csv
    df = self.__open_csv__(filename)
  File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/fmu_utils/csv_reader.py", line 123, in __open_csv__
    df.sort(inplace = True)
  File "/home/dhbubu/.local/lib/python2.7/site-packages/pandas/core/generic.py", line 3614, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'sort'

----------------------------------------------------------------------
Ran 7 tests in 0.277s

FAILED (errors=7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions