Skip to content

AttributeError: 'Dwarf' object has no attribute 'write_jmap_wcs' #2

@NAH8

Description

@NAH8

I was testing the wcs_template_example.ipynb and I got this error when I ran the fourth part:

"image,pix,wcs = draco.create_jmap(npix=150,subsample=8,coordsys='CEL',projection='AIT')"


AttributeError Traceback (most recent call last)
in ()
2
3 # Create a template image and associate wcs
----> 4 image,pix,wcs = draco.create_jmap(npix=150,subsample=8,coordsys='CEL',projection='AIT')
5 # The image is in the default units [cgs]
6 #image = Units.convert_to(image,'GeV2 / cm5')

/u/gl/nah/.local/lib/python2.7/site-packages/pymodeler/model.pyc in getattr(self, name)
148 else:
149 # Raises AttributeError
--> 150 return object.getattribute(self,name)
151
152 def setattr(self, name, value):

AttributeError: 'Dwarf' object has no attribute 'create_jmap'

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