lbl-srg / EstimationPy

Python package for state and parameter estimation
Other
33 stars 15 forks source link

test_in_out_var #5

Closed dhblum closed 4 years ago

dhblum commented 4 years ago

Running estimationpy/tests/test_in_out_var.py results in:

======================================================================
ERROR: test_get_data_series_from_csv (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_in_out_var.py", line 117, in test_get_data_series_from_csv
    reader.open_csv(self.csvOK)
  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 8 tests in 0.016s

FAILED (errors=1)
dhblum commented 4 years ago

Closed by https://github.com/lbl-srg/EstimationPy/pull/3.