Skip to content
Snippets Groups Projects
Commit bbcb53f8 authored by Maël Madon's avatar Maël Madon
Browse files

doc: add forgotten dependancies in the readme

parent 5046e4d9
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,10 @@ The idea behind it is to keep the *logic* of user submissions rather than the ex ...@@ -15,7 +15,10 @@ The idea behind it is to keep the *logic* of user submissions rather than the ex
## Usage ## Usage
You need python3 installed on your machine. Requirements:
- python3
- [networkx](https://github.com/networkx/networkx) (optional, for the graph outputs): `pip3 install networkx`
- [pytest](https://pytest.org/) (optional, for the tests): `pip3 install pytest`
To run the session decomposition on the workload `workloads/example.swf` illustrated above, with "Arrival" delimitation approach and a threshold of 60 minutes: To run the session decomposition on the workload `workloads/example.swf` illustrated above, with "Arrival" delimitation approach and a threshold of 60 minutes:
...@@ -26,9 +29,4 @@ python3 swf2sessions.py -at 60 workloads/example.swf out/ ...@@ -26,9 +29,4 @@ python3 swf2sessions.py -at 60 workloads/example.swf out/
For more documentation, see: `python3 swf2sessions.py -h` For more documentation, see: `python3 swf2sessions.py -h`
## Tests ## Tests
Some integration tests have been written for this script, and are stored in the `test/` folder. To run them on your machine, you need to install pytest and launch it at the root of the project: Some integration tests have been written for this script, and are stored in the `test/` folder. To run them on your machine, just type `pytest` at the root of the project.
\ No newline at end of file
```terminal
pip3 install pytest
pytest
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment