@@ -302,7 +302,7 @@ def add_features_from_ansa(
302
302
ansa_executable : Optional [Path ] = None ,
303
303
ansa_script : Optional [Path ] = None ,
304
304
verbose : bool = False ,
305
- allow_addtional_ansa_features : bool = False ,
305
+ allow_additional_ansa_features : bool = False ,
306
306
) -> List [str ]:
307
307
"""
308
308
Add values derived or calculated from ANSA shell elements (currently restricted to
@@ -324,7 +324,7 @@ def add_features_from_ansa(
324
324
* normal vector x,y,z (ansafile is required)
325
325
* area (ansafile is required)
326
326
* custom features from your customized ansa_script (scalar values only,
327
- allow_addtional_ansa_features must be True)
327
+ allow_additional_ansa_features must be True)
328
328
329
329
Example:
330
330
>>> from pathlib import Path
@@ -347,12 +347,12 @@ def add_features_from_ansa(
347
347
348
348
for feature in features :
349
349
if not feature in okay_ansa + okay_inplace :
350
- if not allow_addtional_ansa_features :
350
+ if not allow_additional_ansa_features :
351
351
okay_ansa .append (feature )
352
352
else :
353
353
raise ValueError (
354
- f"Feature { feature } is unknown and allow_addtional_ansa_features is False "
355
- f"All features must be in { okay_ansa + okay_inplace } "
354
+ f"Feature { feature } is unknown and allow_additional_ansa_features "
355
+ f"is False. All features must be in { okay_ansa + okay_inplace } "
356
356
)
357
357
358
358
if ansa_executable is not None :
0 commit comments