Skip to content

Commit 6f22cf5

Browse files
Mercury to main (#73)
Co-authored-by: ckirkman-IDM <ckirkman@idmod.org> Co-authored-by: Clark Kirkman IV <clark.kirkman@gatesfoundation.org>
1 parent 97957af commit 6f22cf5

File tree

71 files changed

+4081
-6670
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+4081
-6670
lines changed

.github/workflows/tests_all.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
max-parallel: 8
2020
matrix:
2121
os: [ubuntu-latest, windows-latest]
22-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
22+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
2323
steps:
2424
- name: Checkout repo
2525
uses: actions/checkout@v6
@@ -34,12 +34,12 @@ jobs:
3434
shell: bash
3535
- name: Install dependencies
3636
run: |
37-
python -m pip install --upgrade pip
38-
python -m pip install .[test]
39-
- name: Run unit tests
37+
python3 -m pip install --upgrade pip
38+
python3 -m pip install .[test]
39+
- name: Run tests
4040
run: |
4141
cd tests
42-
python -m pytest --dist loadfile -v --junitxml="test_results.xml"
42+
python3 -m pytest --dist loadfile -v --junitxml="test_results.xml"
4343
- name: Upload emodpy test results
4444
uses: actions/upload-artifact@v6
4545
if: failure()

emod_api/.dtk_tools/demographics/DemographicsGeneratorConcern.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# from dtk.generic.demographics import distribution_types
1111
# from dtk.tools.demographics.Node import Node
1212
from emod_api.demographics.demographics import distribution_types
13-
from emod_api.demographics.Node import Node
13+
from emod_api.demographics.node import Node
1414

1515

1616
class DemographicsGeneratorConcern:

emod_api/.dtk_tools/demographics/DemographicsHelperFunctions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import json
88
from copy import deepcopy
99

10-
from emod_api.demographics.Node import Node
10+
from emod_api.demographics.node import Node
1111
from emod_api.demographics.DemographicsFile import DemographicsFile
1212

1313
##Most everything in here needs to be updated or refactored for future purposes

emod_api/__init__.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1 @@
1-
"""
2-
To generate a config.json from a param_overrides.json (or params-of-interest.json):
3-
python -m emod_api.config.from_overrides </path/to/po.json>
4-
5-
To generate a default config.json based on the schema for a given Eradication binary:
6-
python -m emod_api.config.from_schema -e </path/to/Eradication.[exe]> ...
7-
8-
To generate a schema.json:
9-
python -m emod_api.schema.get_schema </path/to/Eradication[.exe]>
10-
11-
For rest of emod-api documentation, please go to https://github.com/InstituteforDiseaseModeling/emod-api
12-
"""
13-
__version__ = "2.0.44"
1+
__version__ = "3.0.0"

emod_api/demographics/Demographics.py

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

0 commit comments

Comments
 (0)