Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
While profiling baler with codecarbon, the profiling logs can be stored as a
.CSV
file. This PR creates plots from the.CSV
log file for better visualization of the energy profiles.For a sample
.CSV
as shown belowThe PR plots figures as
These plots are stored at the location
workspaces/CFD_workspace/CFD_project_animation/output/profiling
I have created an empty folder
profiling
under theoutput
directory and added a.gitkeep
However it seems that the emptyprofiling
folder is still getting ignored and not being pushed into GitHub. For now, this PR can be reviewed by explicitly creating theprofiling
folder but this needs to be fixed in the.gitignore
which I am unable to figure out and I need help.The
.gitignore
present in the root of baler directory has some issues. It is not ignoring as intended, in particular, if we add new contents/folders/files inside theworkspaces
directory. I fixed the above mentioned strikethrough issue by directly making an empty folder namedprofiling
with a.gitkeep
inside and committed the changes on GitHub itself.However the same doesn't seem to work when I do it locally. Git cannot track the empty folder and cannot push the empty folder into GitHub. Making changes to the
.gitignore
also doesn't seem to work.