STEPlib SysML: How To use the Checking Scripts¶
This page explains how to use the Checking Scripts of the STEP architecture.
Contents:
Installation: Python Setup¶
For Windows users¶
Download last release of python 3 here:
Execute the file that has been downloaded and follow the instructions.
When the installation is finished, you can confirm it by opening up the command prompt and typing the following command: python -V
You will now need to make sure you have the latest version by typing:
*python -m pip install -U pip setuptools
For Mac and Linux users¶
Download last release of python 3 here:
Execute the file that has been downloaded and follow the instructions.
When the installation is finished, you can confirm it by opening up the command prompt and typing the following command: python -V
You will now need to make sure you have the latest version by typing:
python -m pip install -U pip setuptools
Required package¶
For each package type pip install NAME-OF-THE-PACKAGE in the command line. Here is the list of packages to install:
- pandas
- lxml
For example: pip install pandas.
Execution¶
In your terminal, type the following:
For Example:
python3 /Users/abc/STEPlib/utils/QualityChecks/CheckXMI /Users/abc/STEPlib/Core_model/Core_model.xml
On execution completion a log.txt file will have been generated that lists the checks and any errors found.
Section author: Aminata Mbengue [Boost Conseil]