Skip to content

Commit

Permalink
Merge pull request #56 from danielhundhausen/dev_objects
Browse files Browse the repository at this point in the history
Major refactoring, central objects, tests and more
  • Loading branch information
danielhundhausen authored Feb 5, 2024
2 parents c226959 + df4a5e0 commit 00d6811
Show file tree
Hide file tree
Showing 153 changed files with 5,220 additions and 9,620 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
ignore = W391, W503
max-line-length = 88
extend-ignore = E203, E704, E266
exclude = menu_tools/object_performance/quality_obj.py
exclude = menu_tools/object_performance/quality_obj.py,menu_tools/**/test_*.py
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,24 @@
Detailed instructions on how to run each step of the workflow are
provided in each folder.

## Setup of Python environment
**Note:** The code should run without any setup on `lxplus`.
## Setup

A standard venv with Python3.11 can be created on lxplus
via `python3.11 -m venv <name_of_venv>` and all necessary
dependencies installed via `pip install .` as follows:
dependencies installed via `pip install .`:

```bash
python3.11 -m venv pyenv
source <name_of_venv>/bin/activate
pip install .
```

You can then execute the tools (e.g. for object performance) via
**ATTENTION:** Whenever you pull changes you need to `pip install . --upgrade`

You can then execute the tools via

```python
python -m menu_tools.object_performance.plotter <path_to_config>
cach_objects <path_to_config>
object_performance <path_to_config>
rate_plots <path_to_config>
```
75 changes: 0 additions & 75 deletions configs/V22/caching.yaml

This file was deleted.

58 changes: 0 additions & 58 deletions configs/V22/object_performance/electron_iso.yaml

This file was deleted.

94 changes: 0 additions & 94 deletions configs/V22/object_performance/electron_matching.yaml

This file was deleted.

96 changes: 0 additions & 96 deletions configs/V22/object_performance/electron_matching_eta.yaml

This file was deleted.

Loading

0 comments on commit 00d6811

Please sign in to comment.