Skip to content

Commit

Permalink
corrected multiline string
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell authored Dec 19, 2024
1 parent 3e789ac commit e510110
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/cad_to_dagmc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,10 @@ def _check_material_tags(material_tags, iterable_solids):
msg = f"material_tags should be an iterable of strings."
raise ValueError(msg)
if len(material_tag) > 28:
msg = f"Material tag {material_tag} is too long. DAGMC will truncate this
material tag to 28 characters. The resulting tag in the h5m file will be
{material_tag[:28]}"
msg = (
f"Material tag {material_tag} is too long. DAGMC will truncate this material tag "
f"to 28 characters. The resulting tag in the h5m file will be {material_tag[:28]}"
)
warnings.warn(msg)


Expand Down

0 comments on commit e510110

Please sign in to comment.