Skip to content

Commit d1054b1

Browse files
authored
integrating changes from david's PR (#60)
1 parent 4a25532 commit d1054b1

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/reference/virtual_environments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ python -m pip install --upgrade pip
4646
Now, you have an environment where you can install the latest version of emodpy-workflow!!!
4747

4848
```
49-
pip install hiv-workflow –extra-index-url=https://packages.idmod.org/api/pypi/pypi-production/simple
49+
pip install hiv-workflow
5050
```
5151

5252
### Deactivate a virtual environment

emodpy_workflow/scripts/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ def build_scenario_experiment(platform, samples, experiment_name, frame, suite_i
5757
experiment = Experiment(name=experiment_name,
5858
simulations=TemplatedSimulations(base_task=task, builders={builder}), parent_id=suite_id)
5959
# doesn't work for now platform.num_cores = frame.num_cores # TODO: this does set per-exp num_cores in comps (min/max cores is this) BUT it also does it on the sim config (breaks!)
60-
platform.create_items(experiment)
6160
return experiment
6261

6362

@@ -138,6 +137,7 @@ def main(args):
138137
'experiment_name': experiment_name
139138
}
140139
# add the experiment directory to the receipt if it exists on the platform
140+
suite.add_experiment(experiment)
141141
try:
142142
exp_directory = platform.get_directory(item=experiment)
143143
frame_and_experiment_info['experiment_directory'] = exp_directory
@@ -149,7 +149,7 @@ def main(args):
149149
# https://github.com/InstituteforDiseaseModeling/idmtools/issues/1653
150150
suite.experiments.extend(experiments)
151151

152-
platform.run_items(experiments)
152+
platform.run_items([suite])
153153
write_receipt(receipt=receipt, receipt_path=receipt_path)
154154

155155
print('Done with model experiment creation.')

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies = [ #pandas and scikit-learn are dependencies of emodpy-hiv, so we
1919
"openpyxl==3.0.9",
2020
"scipy~=1.17",
2121
"seaborn~=0.13",
22-
"urllib3<2.0"
22+
"urllib3~=2.6"
2323
]
2424
license = "MIT"
2525
classifiers=[

0 commit comments

Comments
 (0)