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

Delete leftover plots #21

Merged

Conversation

Saransh-cpp
Copy link
Member

Fixes #19

Added code to delete all the PNGs if they are leftover while testing.

@codecov
Copy link

codecov bot commented Jun 30, 2021

Codecov Report

Merging #21 (05f9cca) into issue-16-add-parameters-to-vary (961c89b) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@                        Coverage Diff                        @@
##           issue-16-add-parameters-to-vary       #21   +/-   ##
=================================================================
  Coverage                           100.00%   100.00%           
=================================================================
  Files                                   12        12           
  Lines                                  387       407   +20     
=================================================================
+ Hits                                   387       407   +20     
Impacted Files Coverage Δ
bot/plotting/plot_graph.py 100.00% <ø> (ø)
bot/plotting/random_plot_generator.py 100.00% <ø> (ø)
bot/information/information.py 100.00% <100.00%> (ø)
bot/plotting/comparison_generator.py 100.00% <100.00%> (ø)
bot/tweet_plot.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 961c89b...05f9cca. Read the comment docs.

@Saransh-cpp Saransh-cpp changed the base branch from main to issue-15-add-tweet-status July 1, 2021 20:35
@Saransh-cpp Saransh-cpp changed the base branch from issue-15-add-tweet-status to main July 1, 2021 20:37
@Saransh-cpp Saransh-cpp changed the base branch from main to issue-16-add-parameters-to-vary July 2, 2021 12:54
Copy link
Sponsor Member

@brosaplanella brosaplanella left a comment

Choose a reason for hiding this comment

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

Looks good, thanks Saransh!

Comment on lines 91 to 92
param_value == 0
or param_value < 0
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Is there any particular reason to not use <=?

Copy link
Member Author

Choose a reason for hiding this comment

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

No particular reason, a silly mistake:)

Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Technically it is not a mistake haha

@Saransh-cpp Saransh-cpp merged commit 120359e into issue-16-add-parameters-to-vary Jul 3, 2021
@Saransh-cpp Saransh-cpp deleted the issue-19-delete-leftover-plots branch July 3, 2021 05:50
@Saransh-cpp Saransh-cpp added the bug Something isn't working label Jul 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GSOC21: Twitter Bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

While testing, killing a simulation leaves behind the generated plots
2 participants