brainglobe/brainreg

[BUG] pandas deprecation warning

dstansby opened this issue · 1 comments

Describe the bug
I'm currently testing brainreg-napari, and the tests emit the following warning that is coming from brainreg:

  /Users/dstansby/projects/napari/brainreg/brainreg/utils/volume.py:93: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
    df = df.append(

To Reproduce
Please enter full details of how to reproduce this bug.

Expected behaviour
A clear and concise description of what you expected to happen.

Log file
Please attach the log file if relevant (e.g. output/cellfinder_2019-12-17_13-29-46.log)

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Linux, Windows, macOS] For macOS, please specify if you have an Intel or M1 CPU (M1 is likely if your mac is new).
  • Version [e.g. 18.04]
  • Hardware specs [e.g. 128 GB RAM, Xeon 4114 CPU].

Additional context
Add any other context about the problem here.

Thanks for raising @dstansby. This has been fixed by @JulesScholler now that #62 has been merged.