Skip to content

multi-scene warning doesn't match variable name (caps) #583

@shirubana

Description

@shirubana

Append=False in makeScene. Existing scenes being over-written.

function expects 'append' not 'Append'

sceneDict1 = {'tilt':34,'pitch':5.69,'clearance_height':0.7,'azimuth':180, 'nMods': 3, 'nRows': 1, 'originx': -3.827, 'originy': 0, 'appendRadfile':True}
sceneDict2 = {'tilt':34,'pitch':5.69,'clearance_height':0.7,'azimuth':180, 'nMods': 3, 'nRows': 1, 'originx': 0, 'originy': 0, 'appendRadfile':True}
sceneDict3 = {'tilt':34,'pitch':5.69,'clearance_height':0.7,'azimuth':180, 'nMods': 3, 'nRows': 1, 'originx': 3.827, 'originy': 0, 'appendRadfile':True}

sceneObj1 = rad_obj.makeScene(Si_08, sceneDict1)
sceneObj2 = rad_obj.makeScene(Si_69, sceneDict2, append=True)
sceneObj3 = rad_obj.makeScene(Si_44, sceneDict3, append=True)

Also, tutorials still have 'appendRadfile' on sceneDict, but seems it moved to makeScene. i.e. 19

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