Skip to content

Commit 636c02c

Browse files
committed
Enums: update docstring for SkipNA; typos.
1 parent 93e5585 commit 636c02c

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

dss_python_backend/enums.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ class GeneratorRegisters(IntEnum):
577577

578578
class SetterFlags(IntFlag):
579579
"""
580-
Setter flags customize down how the update of DSS properties are handled by the
580+
Setter flags customize how the update of DSS properties are handled by the
581581
engine and parts of the API. Use especially in the `Obj` and `Batch` APIs
582582
"""
583583

@@ -603,10 +603,10 @@ class SetterFlags(IntFlag):
603603
"""
604604
For batch operations with arrays, skip NA values
605605
606-
Currently, NA values are interpret as:
607-
- NaN for float64
608-
- INT32_MIN (0x80000000) for int32
609-
- Null pointers for strings (in this case, use a `"\0"` string for empty strings)
606+
Currently, NA values are interpreted as:
607+
- NaN for `float64`
608+
- INT32_MAX (0x7fffffff) for `int32`
609+
- Null pointers for strings (in this case, use a `"\\0"` string for empty strings)
610610
"""
611611

612612
AllowAllConductors = 0x80000000
@@ -627,8 +627,8 @@ class SetterFlags(IntFlag):
627627
'CoreType',
628628
'DSSCompatFlags',
629629
'DSSJSONFlags',
630-
'DSSSaveFlags',
631630
'DSSPropertyNameStyle',
631+
'DSSSaveFlags',
632632
'EnergyMeterRegisters',
633633
'GeneratorRegisters',
634634
'GeneratorStatus',
@@ -642,8 +642,8 @@ class SetterFlags(IntFlag):
642642
'SetterFlags',
643643
'SolutionAlgorithms',
644644
'SolutionLoadModels',
645-
'StorageStates',
646645
'SolveModes',
647646
'SparseSolverOptions',
647+
'StorageStates',
648648
'YMatrixModes',
649649
]

0 commit comments

Comments
 (0)