Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to work with a deployment of multiple frame processors #9

Merged
merged 10 commits into from
Jun 18, 2024
Merged

Conversation

GDYendell
Copy link
Contributor

@GDYendell GDYendell commented May 20, 2024

This makes various code changes to work with a deployment of multiple frame processors and makes further improvements to the development environment to run against local odin-data deployments.

@GDYendell GDYendell requested a review from gilesknap May 20, 2024 16:34
Copy link

codecov bot commented May 20, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 29 lines in your changes missing coverage. Please review.

Project coverage is 63.53%. Comparing base (08178fd) to head (91ba168).

Files Patch % Lines
src/odin_fastcs/odin_controller.py 57.14% 27 Missing ⚠️
src/odin_fastcs/__main__.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main       #9       +/-   ##
===========================================
+ Coverage   52.80%   63.53%   +10.73%     
===========================================
  Files           5        5               
  Lines         214      266       +52     
===========================================
+ Hits          113      169       +56     
+ Misses        101       97        -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@gilesknap gilesknap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make this easier I have made a PR into odin-data fastcs-dev branch here: odin-detector/odin-data#341.

Once this is merged then the instructions for setting up a dev environment are simplified to:

clone odin-data fastcs-dev branch next door to odin-fastcs
open odin-data in vscode and re-open in container
-------------------------------------------------------
cd ../odin-fastcs
pip install -r dev/requirements.txt
pip install -e '.[dev]'
dev/configure.sh /odin /odin/venv
Hit Enter in right pane of zellij
Debug -> Odin IOC(odin-fastcs)

Both fast-cs and odin data can then be modified and tested in this container.

BTW I these instructions could be easily scripted. Caveat that this would be for inside container only.

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@gilesknap
Copy link
Contributor

Hi Gary, do you need any more from me on this PR?

@GDYendell GDYendell changed the title Update developer environment Update to work with a deployment of multiple frame processors Jun 14, 2024
Add support for multiple deployments in dev environment
Remove workspaceFolder from devcontainer config
Update README to use odin-data devcontainer
Create odin extra for local development
Print prompt to delete existing local deployment
@GDYendell GDYendell merged commit 0cbd3a6 into main Jun 18, 2024
19 checks passed
@GDYendell GDYendell deleted the dev branch June 18, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants