segrelab / cometspy

Python interface for running COMETS simulations and analyzing the results
GNU General Public License v3.0
11 stars 9 forks source link

`line_terminator` is deprecated #33

Open hgscott opened 1 year ago

hgscott commented 1 year ago

When I run COMETSpy I get the following warning

/Users/helenscott/opt/miniconda3/lib/python3.9/site-packages/cometspy/model.py:1001: FutureWarning: the 'line_terminator'' keyword is deprecated, use 'lineterminator' instead.
  Vmax.to_csv(f, mode='a', line_terminator = '\n', header=False, index=False)
lhtxa commented 10 months ago

I got it as an error. As suggested, replacing 'line_terminator' by 'lineterminator' in model.py fixed it.