sepandhaghighi / samila

Generative Art Generator
https://www.samila.site
MIT License
1.08k stars 78 forks source link

Reproducibility Feature by Adding `python_version` #172

Closed sadrasabouri closed 1 year ago

sadrasabouri commented 1 year ago

Reference Issues/PRs

171

What does this implement/fix? Explain your changes.

This PR added the python_version attributes to the GenerativeImage object which is saved in both config and data files. At the same time, loading these files Python version would be checked to see if it's the same as the current Python version.

sadrasabouri commented 1 year ago

@sepandhaghighi please take a look at this PR.

codecov-commenter commented 1 year ago

Codecov Report

Merging #172 (628502b) into dev (7e66936) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               dev      #172   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          575       587   +12     
  Branches        88        90    +2     
=========================================
+ Hits           575       587   +12     
Impacted Files Coverage Δ
samila/functions.py 100.00% <100.00%> (ø)
samila/genimage.py 100.00% <100.00%> (ø)
samila/params.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.