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

Resolve relative paths to demonstrations and commands #444

Merged
merged 4 commits into from
May 28, 2024

Conversation

klieret
Copy link
Member

@klieret klieret commented May 28, 2024

This PR should allow to run run.py from another directory. This is a preparation for making it available as a python package.

Closes #225

Copy link

codecov bot commented May 28, 2024

Codecov Report

Attention: Patch coverage is 96.66667% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 75.69%. Comparing base (c507308) to head (3931fb3).
Report is 5 commits behind head on main.

Files Patch % Lines
sweagent/agent/agents.py 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #444      +/-   ##
==========================================
+ Coverage   75.53%   75.69%   +0.16%     
==========================================
  Files          20       20              
  Lines        3090     3115      +25     
==========================================
+ Hits         2334     2358      +24     
- Misses        756      757       +1     

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

@klieret klieret changed the title Resolve relative paths to demonstrations Resolve relative paths to demonstrations and commands May 28, 2024
@klieret klieret merged commit d56ff56 into main May 28, 2024
3 of 5 checks passed
@klieret klieret deleted the make-path-to-demos-relative branch May 28, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Path to demonstration in config file doesn't work if run.py is called from outside of repo root
1 participant