Skip to content

Lattice: Generate Default Name / Use actual None #1135

@ax3l

Description

@ax3l

For the lattice element name argument, instead of "None", adding a good (unique) default name (empty string as Python None instead of "None") would be good to avoid that one has to come up with names for quick lattices.

Image Image

Suggested Solution

A) Either add no name by default and allow empty would work.
Exceptions: BeamMonitor and Marker, which need a name.

B) Create auto-names of element<N> instead of assigning "None" by default.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcomponent: dashboardour browser based trame dashboard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions