Skip to content

AttributeError: 'numpy.ndarray' object has no attribute 'mask' #192

Open
@anantkgupta

Description

@anantkgupta

I am keep on getting this error while trying saving the plot in .csv file formate. also, not able to save the image as .csv.

File "/Users/anant/g2main/GSAS-II/GSASII/GSASIIpwdplot.py", line 3648, in onSave
CopyRietveld2csv(Pattern,Plot,Page,fil)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/anant/g2main/GSAS-II/GSASII/GSASIIpwdplot.py", line 3612, in CopyRietveld2csv
if sum(Pattern[1][0].mask): # are there are excluded points? If so, add them too
AttributeError: 'numpy.ndarray' object has no attribute 'mask'

Please help me resolve this.

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