Skip to content

error in createPlots #22

@EvaEibl

Description

@EvaEibl

Hi Alicia,

I've created a list of triggered events and once catfill.py has processed them all, I'm running into this error. Do you have any thought of what might go wrong?

Thanks,
Eva

Traceback (most recent call last):
File "catfill.py", line 137, in
redpy.plotting.createPlots(rtable, ftable, ttable, ctable, otable, opt)
File "/data/REDPy/redpy/plotting.py", line 75, in createPlots
plotFamilies(rtable, ftable, ctable, opt) File "/data/REDPy/redpy/plotting.py", line 1094, in plotFamilies
fi, ids, id1, id2, ccc, 'png', 100, cnum, 0, 0, opt)
File "/data/REDPy/redpy/plotting.py", line 1269, in plotSingleFamily
ymin = 0.5*np.min(windowAmp[np.nonzero(windowAmp)]) File "<array_function internals>", line 6, in amin
File "/home/eibl/miniconda3/envs/redpy/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 2880, in amin
keepdims=keepdims, initial=initial, where=where) File "/home/eibl/miniconda3/envs/redpy/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 86, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation minimum which has no identity
Closing remaining open files:redpytable.h5...done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions