Skip to content

ValueError a few seconds after run starts on example #3

@batelz

Description

@batelz

Hi,
When running the example you provided:
python READ2.py -i Srubnaya.subset_bed

I get an error:

  ===Thank you for using Relationship Estimation from Ancient DNA version 2 (R                                                                                                              EADv2)===

Window size: 5000000
Calculating one genome-wide P0 value and using a block-jackknife to estimate the standard error.
Traceback (most recent call last):
 File "READ2.py", line 366, in <module>
   s=6, rot=90, figsize=((8+0.1*(len(df_P0.index)), 8)), fontsize=8)
 File "/usr/lib/python3/dist-packages/pandas/plotting/_core.py", line 2941, in __call__
   sort_columns=sort_columns, **kwds)
 File "/usr/lib/python3/dist-packages/pandas/plotting/_core.py", line 1977, in plot_frame
   **kwds)
 File "/usr/lib/python3/dist-packages/pandas/plotting/_core.py", line 1743, in _plot
   kind=kind, **kwds)
 File "/usr/lib/python3/dist-packages/pandas/plotting/_core.py", line 845, in __init__
   super(ScatterPlot, self).__init__(data, x, y, s=s, **kwargs)
 File "/usr/lib/python3/dist-packages/pandas/plotting/_core.py", line 820, in __init__
   raise ValueError(self._kind + ' requires x column to be numeric')
ValueError: scatter requires x column to be numeric

What could be the issue?

Thank you,

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