* Adding Collector for handling data sampling/collection before dataset/dataloader
* Modify domain by adding sample_mode, variables as property * Small change concatenate -> cat in lno/avno * Create different factory classes for conditions
This commit is contained in:
committed by
Nicola Demo
parent
aef5a5d590
commit
1bd3f40f54
@@ -39,11 +39,10 @@ class Condition:
|
||||
|
||||
__slots__ = list(
|
||||
set(
|
||||
InputOutputPointsCondition.__slots__,
|
||||
InputPointsEquationCondition.__slots__,
|
||||
DomainEquationCondition.__slots__,
|
||||
InputOutputPointsCondition.__slots__ +
|
||||
InputPointsEquationCondition.__slots__ +
|
||||
DomainEquationCondition.__slots__ +
|
||||
DataConditionInterface.__slots__
|
||||
|
||||
)
|
||||
)
|
||||
|
||||
@@ -51,8 +50,8 @@ class Condition:
|
||||
|
||||
if len(args) != 0:
|
||||
raise ValueError(
|
||||
f"Condition takes only the following keyword '
|
||||
'arguments: {Condition.__slots__}."
|
||||
"Condition takes only the following keyword "
|
||||
f"arguments: {Condition.__slots__}."
|
||||
)
|
||||
|
||||
sorted_keys = sorted(kwargs.keys())
|
||||
|
||||
Reference in New Issue
Block a user