Skip to content

Commit 2ca4b95

Browse files
committed
fix script in README
1 parent a888a49 commit 2ca4b95

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,23 @@ for the `prototype_mtc_extended` example model.
2828

2929
```python
3030
from pathlib import Path
31-
from activitysim.examples.external import registered_external_example
32-
33-
example_dir = registered_external_example(
34-
name="prototype_mtc_extended",
35-
working_dir=Path.cwd()
31+
from activitysim.examples.external import download_external_example
32+
33+
example_dir = download_external_example(
34+
name="prototype_mtc_extended",
35+
working_dir=Path.cwd(),
36+
url="https://github.com/ActivitySim/activitysim-prototype-mtc/archive/refs/heads/extended.tar.gz",
37+
assets={
38+
"data_full.tar.zst": {
39+
"url": "https://github.com/ActivitySim/activitysim-prototype-mtc/releases/download/v1.3.4/data_full.tar.zst",
40+
"sha256": "b402506a61055e2d38621416dd9a5c7e3cf7517c0a9ae5869f6d760c03284ef3",
41+
"unpack": "data_full",
42+
},
43+
"test/prototype_mtc_reference_pipeline.zip": {
44+
"url": "https://github.com/ActivitySim/activitysim-prototype-mtc/releases/download/v1.3.2/prototype_mtc_extended_reference_pipeline.zip",
45+
"sha256": "4d94b6a8a83225dda17e9ca19c9110bc1df2df5b4b362effa153d1c8d31524f5",
46+
}
47+
}
3648
)
3749
```
3850

@@ -42,5 +54,6 @@ The `prototype_mtc` example model is run using the `activitysim` command line to
4254
A quick and easy way to run the model for benchmarking is to use the following command:
4355

4456
```shell
57+
cd activitysim-prototype-mtc-extended
4558
activitysim workflow performance-benchmarking
4659
```

0 commit comments

Comments
 (0)