Skip to content

Commit 9c47793

Browse files
committed
Revert "Add ancestry normalisation to calclib (#4)"
This reverts commit ac15d59.
1 parent 7e53614 commit 9c47793

39 files changed

+71
-1276
lines changed

.github/workflows/calcapp-pytest.yml

-13
This file was deleted.

.github/workflows/pytest.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- uses: actions/cache@v4
4444
with:
4545
path: ${{ inputs.package-directory }}/.venv
46-
key: venv-${{ hashFiles('**/poetry.lock') }}
46+
key: venv-${{ hashFiles('poetry.lock') }}
4747

4848
- run: pip install poetry
4949

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ If you write code to work with PGS, we publish some libraries that might be hel
2121

2222
| Library | Description | Link |
2323
|------------------------|----------------------------------------------------------|---------------------------------------------------|
24-
| `pgscatalog-corelib` | Core classes and functions | [README](pgscatalog.corelib/README.md) |
24+
| `pgscatalog-corelib` | Core classes and functions | [README](pgscatalog.corelib/pgscatalog/README.md) |
2525
| `pgscatalog-matchlib` | Variant matching across scoring files and target genomes |
2626
| `pgscatalog-calclib` | Ancestry estimation and normalisation |
2727

@@ -49,4 +49,4 @@ Full documentation is provided..
4949

5050
## License
5151

52-
All of our code is open source and licensed with [Apache 2](LICENSE).
52+
All of our code is open source and licensed with [Apache 2](LICENSE).

docs/conf.py

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
autoapi_dirs = [
3030
"../pgscatalog.corelib/src/pgscatalog",
3131
"../pgscatalog.matchlib/src/pgscatalog",
32-
"../pgscatalog.calclib/src/pgscatalog",
3332
]
3433
# see _templates/autoapi/index.rst for autoapi fix
3534
autoapi_template_dir = "_templates/autoapi"

pgscatalog.calcapp/README.md

Whitespace-only changes.

pgscatalog.calcapp/poetry.lock

-720
This file was deleted.

pgscatalog.calcapp/poetry.toml

-3
This file was deleted.

pgscatalog.calcapp/pyproject.toml

-23
This file was deleted.

pgscatalog.calcapp/src/pgscatalog/calcapp/__init__.py

-3
This file was deleted.

pgscatalog.calcapp/src/pgscatalog/calcapp/aggregate_cli.py

-75
This file was deleted.

pgscatalog.calcapp/tests/test_aggregate.py

-67
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
from .polygenicscore import PolygenicScore
22

3+
from .polygenicscore import PolygenicScore
4+
5+
log_fmt = "%(name)s: %(asctime)s %(levelname)-8s %(message)s"
6+
logging.basicConfig(format=log_fmt, datefmt="%Y-%m-%d %H:%M:%S")
7+
logger = logging.getLogger(__name__)
8+
39
__all__ = ["PolygenicScore"]

0 commit comments

Comments
 (0)