Skip to content

Commit

Permalink
Separated class name prefix and property name with _
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Amsden committed Apr 25, 2024
1 parent eb7fdc3 commit 68e1221
Show file tree
Hide file tree
Showing 3 changed files with 2,667 additions and 2,667 deletions.
2 changes: 1 addition & 1 deletion specs/sysml/Resources/genVocabAndShapes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"\n",
"# use the class name as a prefix to the attribute name to ensure they are unique\n",
"def qualident(eClass, eAttribute):\n",
" return eClass.name[0].lower() + eClass.name[1:] + eAttribute.name[0].capitalize() + eAttribute.name[1:] \n",
" return eClass.name[0].lower() + eClass.name[1:] + '_' + eAttribute.name[0].capitalize() + eAttribute.name[1:] \n",
"\n",
"# Get the description of the model element as the first paragraph\n",
"# with markdown removed (rdfs:comment is a string, not an XMLLiteral)\n",
Expand Down
Loading

0 comments on commit 68e1221

Please sign in to comment.