Skip to content

Commit 432f988

Browse files
authored
Merge pull request #9 from Renumics/fix_typo
Fix typo
2 parents 2b48237 + 55dd5da commit 432f988

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mesh2vec/mesh2vec_cae.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def add_features_from_ansa(
302302
ansa_executable: Optional[Path] = None,
303303
ansa_script: Optional[Path] = None,
304304
verbose: bool = False,
305-
allow_addtional_ansa_features: bool = False,
305+
allow_additional_ansa_features: bool = False,
306306
) -> List[str]:
307307
"""
308308
Add values derived or calculated from ANSA shell elements (currently restricted to
@@ -324,7 +324,7 @@ def add_features_from_ansa(
324324
* normal vector x,y,z (ansafile is required)
325325
* area (ansafile is required)
326326
* 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)
328328
329329
Example:
330330
>>> from pathlib import Path
@@ -347,12 +347,12 @@ def add_features_from_ansa(
347347

348348
for feature in features:
349349
if not feature in okay_ansa + okay_inplace:
350-
if not allow_addtional_ansa_features:
350+
if not allow_additional_ansa_features:
351351
okay_ansa.append(feature)
352352
else:
353353
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}"
356356
)
357357

358358
if ansa_executable is not None:

0 commit comments

Comments
 (0)