5. Additional Notes
The External Identifier
The Simples external identifier is a positive integer, as is the B2000++ external identifier.
The Internal Identifier
The Simples internal identifier is an integer starting at 0 and all items are numbered consecutively 0., 1, 2, … The Simples internal identifier may not be negative.
In contrast to Simples the B2000++ internal identifier is an integer > 0 and all items are numbered consecutively 1, 2, 3, …
numpy Array as Return Value
A numpy array values
cannot be tested against None
with a
if not value:
statement. Instead, test with
if value is None:
print("Error...")
or
if value is not None:
print("ok")