Skip to content

Commit 9ed26e7

Browse files
committed
src(gates): use cattrs
1 parent 801f597 commit 9ed26e7

25 files changed

+2061
-1339
lines changed

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
"cellengine",
44
"cytometry",
55
"scaleset"
6-
]
6+
],
7+
"python.linting.enabled": true,
8+
"python.linting.flake8Enabled": true
79
}

CONTRIBUTING.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Contributing
2+
3+
### Running tests
4+
5+
Unit tests run with `python3 -m pytest`.
6+
7+
The integration tests need CellEngine credentials to run. In CI, these are
8+
provided by GitHub secrets. Locally, you need to set environment variables:
9+
10+
```sh
11+
CELLENGINE_USERNAME="..."
12+
CELLENGINE_PASSWORD="..."
13+
# for running tests that require S3:
14+
S3_ACCESS_KEY="..."
15+
S3_SECRET_KEY="..."
16+
# Run the integration tests:
17+
python3 -m pytest ./tests/integration/test_integration.py
18+
```
19+
20+
### Conventions
21+
22+
* Error message text should end with a period.

cellengine/payloads/gate.py

Lines changed: 0 additions & 81 deletions
This file was deleted.

cellengine/payloads/gate_utils/__init__.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

cellengine/payloads/gate_utils/ellipse_gate.py

Lines changed: 0 additions & 105 deletions
This file was deleted.

cellengine/payloads/gate_utils/polygon_gate.py

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)