Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
e677c20
updated code for more minimum field requirements;
nickjhathaway May 7, 2026
03c26b2
no message
nickjhathaway May 7, 2026
da5f008
updated MD5SUMs;
nickjhathaway May 7, 2026
06582a1
added new schema file; added new test data with new minimum fields re…
nickjhathaway May 7, 2026
bb7ebf4
further updates to specimen and library_sample metadata updated; upda…
nickjhathaway May 12, 2026
4abbe4b
make testing of header more explicit;
nickjhathaway May 12, 2026
0a8045f
updated merge function to reflect less required fields; added two new…
nickjhathaway May 13, 2026
e56b13b
added test for building a small pmo and then adding in specimen_meta …
nickjhathaway May 13, 2026
09f092c
added several more exporters for meta tables; added creating lib and …
nickjhathaway May 18, 2026
cf39cd4
fixed new md5sum for changed output;
nickjhathaway May 19, 2026
704da38
added last pytests;
nickjhathaway May 19, 2026
d69766c
we have not actually been coverting list values to lists;
nickjhathaway May 20, 2026
6246038
had to update the library_sample_name for the list as well;
nickjhathaway May 20, 2026
2e71ff9
add NaN for optional field removal;
nickjhathaway May 21, 2026
14f87af
added exporter for all of PMO into an excel document;
nickjhathaway May 22, 2026
00c1cbc
added removing empty, null values for target_info;
nickjhathaway May 22, 2026
08e20e0
fix openpyxl package missing;
nickjhathaway May 22, 2026
d6ea596
various updates to address comments in PR; major changes include defa…
nickjhathaway May 23, 2026
034522d
various updates for making man/ pages;
nickjhathaway Jun 3, 2026
972099f
added github workflow action so the io pages is generated;
nickjhathaway Jun 3, 2026
f874cd7
move load_schema to PMOChecker; added load_schema_by_version; added a…
nickjhathaway Jun 3, 2026
e478233
Correct instructions on building documentation
kathrynmurie Jun 3, 2026
9461493
Merge pull request #72 from PlasmoGenEpi/feature/fix_doc_strings_add_…
kathrynmurie Jun 3, 2026
d12dbdc
Merge pull request #71 from PlasmoGenEpi/feature/update_for_minimal_pmo
kathrynmurie Jun 3, 2026
41d2f90
Add action to test docs build on every PR
kathrynmurie Jun 3, 2026
fc47b0e
Merge pull request #73 from PlasmoGenEpi/feature/test_docs_on_PR
nickjhathaway Jun 3, 2026
c5f689f
update for better error message when optional fields are provided by …
nickjhathaway Jun 4, 2026
b5893e8
changed missing specimens/library samples into warnings instead of er…
nickjhathaway Jun 4, 2026
87e9dc6
update for pytests for new warnings;
nickjhathaway Jun 4, 2026
faf6710
Merge pull request #75 from PlasmoGenEpi/hotfix/better_error_handling…
kathrynmurie Jun 4, 2026
e5c43da
update to make deep copies of input to merge_pmo so the original is u…
nickjhathaway Jun 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Deploy Sphinx docs to Pages

on:
push:
branches: [main]
paths:
- "src/pmotools/**"
- "man/**"
- ".github/workflows/docs.yml"
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install -e .
pip install -r man/requirements.txt
- name: Regenerate autodocs and build
run: |
cd man
make update_autodocs
make html
- uses: actions/upload-pages-artifact@v3
with:
path: man/build/html
- id: deployment
uses: actions/deploy-pages@v4
31 changes: 31 additions & 0 deletions .github/workflows/test-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Check documentation build

on:
pull_request:

permissions:
contents: read

jobs:
build-docs:
name: Build Sphinx docs
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install dependencies
run: |
pip install -e .
pip install -r man/requirements.txt

- name: Regenerate autodocs and build
run: |
cd man
make update_autodocs
make html
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A collection of tools to interact with [portable microhaplotype object (pmo) fil

# Setup

Install using pip
Install using pip. Currently only supports python 3.11+
```bash
pip install .
```
Expand Down Expand Up @@ -124,3 +124,23 @@ git add .
git commit -m "Your message"
git push origin feature/my-feature
```

### Documentation updating

Documentation for pmotools is automatically generated from docstring under `man/`. This is automatically built and deployed through GitHub actions on merging to main.

You should check documentation before deployment. To update the documentation locally make sure you have pmotools-python installed.

Next, from your development environment, install sphinx and its dependencies using the following command:

```bash
pip install -r man/requirements.txt
```

Build the documentation using the following commands
```bash
cd man
make update_autodocs
make html
```
You can open the html to review changes.
20 changes: 0 additions & 20 deletions docs/Makefile

This file was deleted.

95 changes: 0 additions & 95 deletions docs/conf.py

This file was deleted.

37 changes: 0 additions & 37 deletions docs/index.rst

This file was deleted.

48 changes: 0 additions & 48 deletions docs/scripts/Converting_data_into_PMO.rst

This file was deleted.

24 changes: 0 additions & 24 deletions docs/usages/extract_from_pmo.rst

This file was deleted.

17 changes: 0 additions & 17 deletions docs/usages/json_convertors.rst

This file was deleted.

27 changes: 0 additions & 27 deletions docs/usages/utils.rst

This file was deleted.

Loading
Loading