Skip to content

Commit d40b224

Browse files
committed
simplify claude.md wrt pythom envs
1 parent 49926d2 commit d40b224

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

CLAUDE.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
44

55
## Commands
66

7-
### Testing
8-
- **Run all tests**: `fish -c "mamba activate acq4-torch; python -m pytest"`
9-
- **Run specific test file**: `fish -c "mamba activate acq4-torch; python -m pytest coorx/tests/test_transforms.py"`
10-
- **Run single test**: `fish -c "mamba activate acq4-torch; python -m pytest coorx/tests/test_transforms.py::CompositeTransform::test_as_affine"`
11-
- **Collect tests only**: `fish -c "mamba activate acq4-torch; python -m pytest --collect-only"`
7+
All commands likely require running python from a particular environment. If this is not specified in an agent instruction file, then prompt the user.
128

13-
### Environment
14-
- **Activate environment**: Always use `fish -c "mamba activate acq4-torch; <command>"` since mamba is not available in bash
15-
- **Install package in development mode**: `fish -c "mamba activate acq4-torch; pip install -e ."`
9+
### Testing
10+
- **Run all tests**: `python -m pytest coorx/tests`
11+
- **Run specific test file**: `python -m pytest coorx/tests/test_transforms.py`
12+
- **Run single test**: `python -m pytest coorx/tests/test_transforms.py::CompositeTransform::test_as_affine`
13+
- **Collect tests only**: `python -m pytest --collect-only`
1614

1715
## Architecture
1816

@@ -44,9 +42,10 @@ Coorx implements object-oriented coordinate system transforms with an emphasis o
4442
### Image Support (`image.py`)
4543
- Image class that tracks coordinate system of pixel data
4644
- Integrates with transform system for spatial transformations
45+
- Basic manipulations like crop, scale, and rotate track transformations to allow mapping between pixels of original and final images
4746

4847
### Testing Infrastructure
4948
- Custom pytest plugin (`conftest.py`) for Jupyter notebook testing
5049
- Pristine state checking and execution comparison for `.ipynb` files
51-
- 374+ parameterized tests covering all transform combinations
52-
- Visual diff support for image outputs using ASCII art representation
50+
- Visual diff support for image outputs using ASCII art representation
51+
- Many parameterized tests covering all transform combinations

0 commit comments

Comments
 (0)