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

Parsing of log directory fails if mismatch in standard and output logs #66

Open
raghavian opened this issue Feb 25, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@raghavian
Copy link
Collaborator

raghavian commented Feb 25, 2024

If the number of standard and output logs are different, the parsing of the log directory fails. Fix is to split filename here based on a different string:

        op_fn = [f.split("_carbontracker")[0] for f in output_logs]
        std_fn = [f.split("_carbontracker")[0] for f in std_logs] 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants