Skip to content

Commit 56208fe

Browse files
committed
remove mimic_utils readme and add instructions to README
1 parent 14c1937 commit 56208fe

2 files changed

Lines changed: 31 additions & 3 deletions

File tree

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,37 @@ To start this deployment, click the Launch Stack button. On the first screen, t
3838

3939
[![cloudformation-launch-stack](/mimic-iii/buildmimic/aws-athena/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=MIMIC&templateURL=https://aws-bigdata-blog.s3.amazonaws.com/artifacts/biomedical-informatics-studies/mimic-iii-athena.yaml)
4040

41+
## mimic_utils package
42+
43+
This package contains utilities for working with the MIMIC datasets; primarily transpiling SQL code.
44+
45+
### Installation
46+
47+
```bash
48+
pip install -e ".[test]"
49+
```
50+
51+
### Development
52+
53+
The repository includes a locked dependency file (`requirements-lock.txt`) generated by `pip-compile` for reproducible builds on Python 3.9. To use it:
54+
55+
```bash
56+
pip install -r requirements-lock.txt
57+
pip install -e . --no-deps
58+
```
59+
60+
To update the lock file after changing dependencies in `pyproject.toml`:
61+
62+
```bash
63+
pip-compile pyproject.toml --output-file requirements-lock.txt --all-extras --strip-extras --upgrade
64+
```
65+
66+
### Running tests
67+
68+
```bash
69+
pytest tests/
70+
```
71+
4172
## Other useful tools
4273

4374
* [Bloatectomy](https://github.com/MIT-LCP/bloatectomy) ([paper](https://github.com/MIT-LCP/bloatectomy/blob/master/paper/paper.md)) - A python based package for removing duplicate text in clinical notes

README_mimic_utils.md

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

0 commit comments

Comments
 (0)