Skip to content

Commit e371ece

Browse files
author
spencer@primus
committed
Add v1 of workflows and remove extraneous
1 parent d6ac6cf commit e371ece

21 files changed

Lines changed: 2726 additions & 7014 deletions

.github/workflows/test_on_main.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Run tests on main branch
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
call_tester:
11+
name: Run unit tests on main branch
12+
uses: avstack-lab/avstack-core/.github/workflows/test_on_branch.yml
13+
with:
14+
branch: main
15+
os: ubuntu-22.04
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Run tests on workflows branch
2+
3+
on:
4+
push:
5+
branches: [ workflows ]
6+
pull_request:
7+
branches: [ workflows ]
8+
9+
jobs:
10+
call_tester:
11+
name: Run unit tests on workflows branch
12+
uses: avstack-lab/avstack-core/.github/workflows/test_on_branch.yml
13+
with:
14+
branch: workflows
15+
os: ubuntu-22.04

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ do so.
3737

3838

3939
[kitto]: https://github.com/kittiframework/kitto
40-
[issue-tracker]: https://github.com/avstack-lab/lib-avstack-api/issues
40+
[issue-tracker]: https://github.com/avstack-lab/avstack-api/issues
4141
[fork-how]: http://gun.io/blog/how-to-github-fork-branch-and-pull-request
4242
[git-style-guide]: https://github.com/agis-/git-style-guide
4343
[using-pull-requests]: https://help.github.com/articles/using-pull-requests

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ See [`avstack-core`][avstack-core]
1212

1313
First, clone the repositry and submodules.
1414
```
15-
git clone --recurse-submodules https://github.com/avstack-lab/lib-avstack-api.git
15+
git clone --recurse-submodules https://github.com/avstack-lab/avstack-api.git
1616
```
1717
Dependencies are managed with [`poetry`][poetry]. This uses the `pyproject.toml` file to create a `poetry.lock` file.
1818

1919
You must already have downloaded [`avstack-core`][avstack-core] and placed it in a location commensurate with this repository's `pyproject.toml` file. For example, if `pyproject.toml` says
2020
```
21-
lib-avstack-core = { path = "../lib-avstack-core", develop = true }
21+
avstack-core = { path = "../avstack-core", develop = true }
2222
```
23-
then `lib-avstack-core` must be placed in the same folder as `lib-avstack-api`.
23+
then `avstack-core` must be placed in the same folder as `avstack-api`.
2424

2525
### Datasets
2626

27-
See [the dataset README file](https://github.com/avstack-lab/lib-avstack-api/data/README.md)
27+
See [the dataset README file](https://github.com/avstack-lab/avstack-api/data/README.md)
2828

2929
### Simulators
3030

@@ -50,7 +50,7 @@ in the project root, you can use our pre-made pre-commit hook.
5050

5151
# Contributing
5252

53-
See [CONTRIBUTING.md](https://github.com/avstack-lab/lib-avstack-core/CONTRIBUTING.md) for further details.
53+
See [CONTRIBUTING.md](https://github.com/avstack-lab/avstack-core/CONTRIBUTING.md) for further details.
5454

5555
# LICENSE
5656

@@ -60,6 +60,6 @@ AVstack specific code is distributed under the MIT License.
6060

6161

6262
[poetry]: https://github.com/python-poetry/poetry
63-
[avstack-core]: https://github.com/avstack-lab/lib-avstack-core
63+
[avstack-core]: https://github.com/avstack-lab/avstack-core
6464
[avstack-preprint]: https://arxiv.org/pdf/2212.13857.pdf
6565
[carla-sandbox]: https://github.com/avstack-lab/carla-sandbox

avapi/__init__.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +0,0 @@
1-
import avapi.carla
2-
import avapi.evaluation
3-
import avapi.kitti
4-
import avapi.mot15
5-
import avapi.nuimages
6-
import avapi.nuscenes
7-
import avapi.opv2v
8-
import avapi.ugv
9-
import avapi.visualize
10-
11-
12-
def get_scene_manager(dataset, data_dir, split, verbose=False):
13-
ds = dataset.lower()
14-
if ds == "mot15":
15-
SM = avapi.mot15.MOT15SceneManager
16-
elif ds == "kitti":
17-
SM = avapi.kitti.KittiScenesManager
18-
elif ds == "nuscenes":
19-
SM = avapi.nuscenes.nuScenesManager
20-
elif ds == "carla":
21-
SM = avapi.carla.CarlaScenesManager
22-
else:
23-
raise NotImplementedError
24-
return SM(data_dir, split, verbose=verbose)

avapi/evaluation/__init__.py

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

0 commit comments

Comments
 (0)