equinor / fmu-ensemble

Python objectification of reservoir model ensembles left on disk by ERT.
GNU General Public License v3.0
12 stars 19 forks source link

FutureWarning when running find_files #217

Closed berland closed 2 years ago

berland commented 2 years ago

This line triggers a FutureWarning in Pandas 1.4.2:

https://github.com/equinor/fmu-ensemble/blob/11f2e9badac792437a1cf86ea2739768056c45aa/src/fmu/ensemble/realization.py#L836

/work/projects/fmu-ensemble/src/fmu/ensemble/realization.py:837: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
  returnedslice = returnedslice.append(filerow, ignore_index=True)
berland commented 2 years ago

Solve this similarly to #215