-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from danielhundhausen/main
Misc fixes/improvements to documentation, new CMS colors, plot style
- Loading branch information
Showing
9 changed files
with
98 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[flake8] | ||
ignore = W391, W503 | ||
ignore = W391, W503, E712 | ||
max-line-length = 88 | ||
extend-ignore = E203, E704, E266 | ||
exclude = menu_tools/object_performance/quality_obj.py,menu_tools/**/test_*.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,20 +6,28 @@ | |
trigger turn-on curves, and scalings for the assessment of the physics performance of the CMS Phase-2 L1 Menu. | ||
|
||
For further instructions on how to run the tools, see the `docs`. | ||
Some documentation can also be found in the [wiki](https://github.com/cms-l1-dpg/Phase2-L1MenuTools/wiki). | ||
|
||
## Setup | ||
|
||
These tools are expected to be used primarily on lxplus. | ||
To clone the repository run | ||
|
||
```bash | ||
git clone [email protected]:cms-l1-dpg/Phase2-L1MenuTools.git | ||
``` | ||
|
||
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 .`: | ||
dependencies installed via `pip install -e .`: | ||
|
||
```bash | ||
python3.11 -m venv pyenv | ||
python3.11 -m venv <name_of_venv> | ||
source <name_of_venv>/bin/activate | ||
pip install . | ||
pip install -e . | ||
``` | ||
|
||
**ATTENTION:** Whenever you pull changes you need to `pip install . --upgrade` | ||
**ATTENTION:** If you do not use the `-e` flag (editable), you will `pip install . --upgrade` whenever you pull changes. | ||
|
||
You can then execute the tools via | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters