diff --git a/.gitignore b/.gitignore index d806a37..f6c803a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ outputs/ out/ __pycache__/ *.egg -*.egg-info \ No newline at end of file +*.egg-info +metrics.json \ No newline at end of file diff --git a/README.md b/README.md index 0323a5b..62ccc61 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,9 @@ See `uv run dataflow --help` for all options ## Testing with Artefacts ### Set up the Artefacts Dashboard -Follow these steps to set up your Artefacts project. For more details, refer to the [documentation](https://docs.artefacts.com/getting-started/). +Follow these steps to set up your Artefacts project. For more details, refer to the [documentation](https://docs.artefacts.com/getting-started/). + +_Please note IsaacSim 5.0 is dependant on an older version of `psutil` (5.9.8) that is incompatible with Artefacts. As a result Artefacts needs to be installed outside the `uv` environment of the project. Our recommendation is `pipx`._ 1. Install the CLI using `pipx` (other installation methods are available). ```sh diff --git a/nodes/tester/tester/conftest.py b/nodes/tester/tester/conftest.py index 43f9fe2..0f34cd6 100644 --- a/nodes/tester/tester/conftest.py +++ b/nodes/tester/tester/conftest.py @@ -1,5 +1,4 @@ # noqa: D100 -import os from pathlib import Path import msgs @@ -87,16 +86,7 @@ def metrics(): yield metrics workspace_path = Path(__file__).parent.parent.parent.parent - metrics_path = ( - Path( - os.getenv( - "ARTEFACTS_SCENARIO_UPLOAD_DIR", workspace_path / "outputs/artefacts" - ) - ) - / ".." - / "metrics.json" - ) - metrics_path.parent.mkdir(parents=True, exist_ok=True) + metrics_path = workspace_path / "metrics.json" with open(metrics_path, "w") as f: import json