-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
For some reason the label of a specification has a trailing number.
I try to specify a specification label
For instance.
.....
def mongo_singleton_capability(devices, capability, settings):
print ("Initializing capability: " + capability)
cap = mplane.model.Capability(label= "mobile_probe_hardware", when = "past ... now", verb ="query")
cap.add_metadata("System_version", "1.0")
....
Then during the running of the capability i print this label
def run(self, spec, check_interrupt):
......
specType = spec.get_label()
print("SPEC: ", specType)
.....
I get a trailing "-0" at the capability label... : mobile_probe_hardware-0
is that normal ?