From 6220add0b496b22f5643ea48edee5f00dffc0f7a Mon Sep 17 00:00:00 2001 From: UsamaEquinorAFK Date: Tue, 14 Nov 2023 17:59:33 +0100 Subject: [PATCH 1/2] Add SECURITY.md --- SECURITY.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..7d3a51a --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,18 @@ +## SECURITY + +If you discover a security vulnerability in this project, please follow these steps to responsibly disclose it: + +1. **Do not** create a public GitHub issue for the vulnerability. +2. Follow our guideline for Responsible Disclosure Policy at [https://www.equinor.com/about-us/csirt](https://www.equinor.com/about-us/csirt) to report the issue + +The following information will help us triage your report more quickly: + +- Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) +- Full paths of source file(s) related to the manifestation of the issue +- The location of the affected source code (tag/branch/commit or direct URL) +- Any special configuration required to reproduce the issue +- Step-by-step instructions to reproduce the issue +- Proof-of-concept or exploit code (if possible) +- Impact of the issue, including how an attacker might exploit the issue + +We prefer all communications to be in English. From 5bfa253242db06c9c7315eb655a7d8dc018577c9 Mon Sep 17 00:00:00 2001 From: UsamaEquinorAFK Date: Tue, 14 Nov 2023 17:59:54 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 6 ++++++ tests/test_alignment.py | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dd23119..b0e7572 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,12 @@ pip install -e /path/to/package This will install package in _editable_ mode. Convenient for local development +### Contributing + +We welcome all kinds of contributions, including code, bug reports, issues, feature requests, and documentation. The +preferred way of submitting a contribution is to either make an [issue](https://github.com/equinor/isar/issues) on +GitHub or by forking the project on GitHub and making a pull requests. + ### How to use The tests in this repository can be used as examples diff --git a/tests/test_alignment.py b/tests/test_alignment.py index a21ebfe..6004b07 100644 --- a/tests/test_alignment.py +++ b/tests/test_alignment.py @@ -41,7 +41,6 @@ def test_align_positions_translation_only(): def test_align_positions_one_dimension(): - expected_rotation = np.array([np.pi / 2, 0, 0]) expected_translation = np.array([0, 0, 0]) @@ -78,7 +77,6 @@ def test_align_positions_one_dimension(): def test_align_positions_three_dimensions(): - expected_rotation = np.array([np.pi / 2, np.pi / 4, np.pi / 2]) expected_translation = np.array([0, 0, 0]) hyp = np.sqrt(1 / 2) @@ -116,7 +114,6 @@ def test_align_positions_three_dimensions(): def test_align_positions_rotation_and_translation(): - expected_rotation = np.array([np.pi / 2, 0, 0]) expected_translation = np.array([2, -1, 0])