Commits

Anonymous committed 16993c9

Created a function main() in modelViewer (usefull for profiling)

Comments (0)

Files changed (1)

src/modelViewer/modelViewer.py

     print('Usage')
 
 
-if __name__ == '__main__':
-
+def main():
+    """ Main Entry Point """
     if len(sys.argv) < 2:
         usage()
     else:
                 v(x)
         else:
             v('./')
+
+
+if __name__ == '__main__':
+    main()