Sadra Sabouri
2a98624138
Samila version added for reproducibility ( #184 )
...
* change : micro version is no longer saved.
* add : `__version__` attribute for Samila version. (#171 )
* fix : minor mistake in CHANGELOG.md.
* update : `VERSION_WARNING` updated.
2023-03-31 17:37:17 +03:30
Sadra Sabouri
a54a5107a5
Rotation Added ( #177 )
...
* rotate : [INIT]
* edit : docstring edited.
* add : `rotate` function added.
* edit : docstring edited.
* add : `rotate` added to config and data files.
* log : changes logged.
* update : document updated.
* test : tests added (#176 )
* add : `PIL` added to dependecies.
* fix : typo fixed in `requirements.txt`.
* remove : extra import in `genimage.py` removed.
* add : version for Pillow.
---------
Co-authored-by: sepandhaghighi <sepand.haghighi@yahoo.com>
2023-03-26 18:30:40 +03:30
Sadra Sabouri
a9e23235b2
Reproducibility Feature by Adding `python_version` ( #172 )
...
* add : `python_version` added.
* test : tests added.
* log : changes logged. (#171 )
* fix : minor issues fixed.
* test : new test added for python version.
* fix : typo fixed in `genimage.py`.
* update : tests updated.
2023-01-06 10:36:21 +03:30
Sadra Sabouri
36085c761b
Test ( #167 )
...
* fix : `status` issue fixed in tests.
* fix : `status["*"]` -> `result['status'][*]`
2022-11-29 01:58:20 +03:30
Sadra Sabouri
f21f82c225
Data/Config Upload to IPFS ( #164 )
...
* add : `get_config` and `get_data`.
* add : `upload_data` and `upload_config` parameters added to `nft_storage` method.
* log : chages logged. (#144 , #145 )
* edit : config and data are now json dumped.
* doc : document updated.
* test : tests added.
* fix : minor issues fixed in tests.
* change : minor changes applied.
* test : test splited for inreasing coverage.
2022-11-22 13:01:58 +03:30
Sepand Haghighi
b8967acc28
Generate method optimization ( #163 )
...
* fix : generate method optimized
* doc : CHANGELOG updated
* fix : missed_points_number added
* doc : CHANGELOG updated
* fix : tests updated
2022-11-10 17:52:52 +03:30
Sepand Haghighi
5be1cc35fc
Minor edits ( #161 )
...
* fix : tests updated
* fix : tests updated
* fix : tests updated
* doc : minor edit in description
2022-11-08 08:22:13 +03:30
Sadra Sabouri
27317de6c8
Marker Added ( #159 )
...
* add : `Marker` enum added. (#156 )
* add : `marker` parameter added. (#156 )
* log : changes logged. (#156 )
* add : RANDOM marker added.
* change : minor change in docstring.
* add : `Marker` added to `__init__`.
* update : documents updated.
* test : tests added.
* edit : minor bugs fixed in tests.
* fix : minor typo fixed in demo.
2022-11-06 01:46:28 +03:30
Sepand Haghighi
a7a1ae56ee
Error handling ( #151 )
...
* fix : load_config function updated
* fix : load_data function updated
* fix : tests updated
* fix : tests updated
* fix : new tests added
* doc : CHANGELOG updated
2022-09-15 13:52:24 +04:30
Sepand Haghighi
2fadfea62f
Minor edits ( #150 )
...
* doc : setup.py website and email updated
* doc : CODE_OF_CONDUCT.md email updated
* fix : samila_help function updated
* doc : README updated
2022-09-15 08:35:07 +04:30
Sadra Sabouri
d67d69c9dd
Point Colors 🌈 ( #143 )
...
* add : `DEFAULT_CMAP` added.
* add : `filter_cmap` added.
* edit : `cmap` added to proper functions accordingly.
* add : `cmap` added to the realted methods.
* log : changes logged. (#75 )
* add : `c` added to `plot`, now list of colors are supported.
* add : `cmap` added to save and load (config and data).
* fix : minor bug related to cmap always being `DEFAULT_CMAP` fixed.
* change : minor change in `filter_cmap`.
* fix : `str` type cmap suuport added.
* add : serializing the cmap.
* fix : `Colormap` issue fixed.
* change : `DEFAULT_CMAP`: `viridis` --> `cm.get_cmap("viridis", 256)`.
* fix : minor bugs fixed.
* edit : changes are no applied on all entries of a `cmap.colors`.
* add : minor tests added.
* edit : minor edits in tests.
* fix : minor issues in tests fixed.
* add : `_serialize_color` function.
* test : add few tests.
* fix : trailing whitespace fixed.
* test : a test added.
* edit : minor edit in `filter_cmap`.
* remove : `c` parameter removed.
* fix : minor typo fixed.
2022-08-28 00:27:20 +04:30
Sadra Sabouri
819792d832
Warnings ( #135 )
...
* add : BOTH_COLOR_COMPLEMENT_WARNING added.
* add : INVALID_COLOR_TYPE_ERROR added. (#134 )
* add : COLOR_NOT_FOUND_WARNING added. (#134 )
* cahnge : INVALID_COLOR_TYPE_ERROR -> INVALID_COLOR_TYPE_WARNING.
* change : warning -> error.
* test : tests added.
* fix : minor typo in error message fixed.
* edit : INVALID_COLOR_TYPE_ERROR edited.
* edit : BOTH_COLOR_COMPLEMENT_WARNING edited.
2022-05-28 16:24:18 +04:30
Sadra Sabouri
fd80f431ef
Transparent Feature Added ( #133 )
...
* add : set_background function usage added to `genimage.py`.
* add : `set_background` function added.
* log : changes logged. (#118 )
* test : some tests added.
* fix : minor typo in tests fixed.
* add : transparent added to documents.
* update : CHANGELOG.md updated.
* fix : minor typo fixed.
* edit : Transparent description added.
* edit : make `Transparent` bold.
2022-05-20 02:19:51 +04:30
Sepand Haghighi
6007ab4c16
fix : set hex color format to lowercase ( #132 )
2022-05-18 00:53:25 +04:30
Sepand Haghighi
df9cf76f34
Complement color ( #131 )
...
* feat : is_valid_color function added #122
* fix : filter_color function updated #122
* feat : color_complement function added
* fix : filter_color function updated #122
* fix : autopep8 #122
* fix : tests updated #122
* fix : tests updated #131
* fix : docstring updated #131
* fix : minor edit in tests #131
* fix : tests updated #131
* fix : minor edit in tests #131
* fix : minor edit in tests #131
* fix : minor edit in tests #131
* doc : README updated #131
* doc : CHANGELOG updated #131
* doc : docstring updated #131
2022-05-17 17:54:04 +04:30
Sepand Haghighi
e0cc52f74c
Update test ( #126 )
...
* fix : test updated
* fix : is_same_data function bug fixed
* fix : test updated
* doc : CHANGELOG updated
* fix : minor edit in test
* fix : minor edit in test spaces
2022-05-01 12:24:10 +04:30
Sadra Sabouri
d2b7585b1a
Equation warning ( #125 )
...
* add : CALCULATION_EXCEPTION_WARNING parameter added.
* add : calculation exception warning added. (#121 )
* test : tests added.
* fix : minor issue fixed.
* edit : changelog.md edited.
* fix : minor bug fixed.
* edit : minor edits in functions.
* fix : minor issues fixed in docstring.
* fix : typo fixed in CHANGELOG.md.
* rollback : random function are now in its last place.
* fix : typo fixed.
2022-04-30 18:49:40 +04:30
Sepand Haghighi
7444b9bd90
Random mode ( #124 )
...
* feat : random mode added to Projection #88
* feat : random mode added to color and bgcolor #88
* fix : tests updated #88
* fix : tests updated #88
* fix : tests updated #88
* fix : autopep8 #88
* doc : CHANGELOG updated #88
* doc : README updated #88
* fix : tests updated #124
2022-04-26 17:36:19 +04:30
sepandhaghighi
d298cf0a56
fix : test updated
2022-04-20 13:33:14 +04:30
Sadra Sabouri
b6558c5cd7
Html colors support ( #117 )
...
* add : HEX_COLOR_PATTERN added.
* edit : filter_color edited so that hex color is supported now.
* log : changes logged. (#116 )
* test : test added.
2022-04-20 12:55:33 +04:30
Sepand Haghighi
841862f8da
Test update ( #114 )
...
* fix : minor edit in tests
* doc : CHANGELOG updated
2022-04-16 09:15:22 +04:30
Sadra Sabouri
24cec90e9e
Link and Path fields added ( #109 )
...
* add : link added to nft_storage_upload result. (#99 )
* tests : tests added.
* add : path added to the `save_fig/config/data_file` functions. (#99 )
* edit : minor edit in CHANGELOG.md.
* test : tests added accordingly.
* edit : link/path added to message field.
* fix : minor typo fixed.
* edit : minor edits.
2022-04-06 15:36:45 +04:30
Sepand Haghighi
5d3a0a11bb
Minor edits ( #98 )
...
* fix : alpha added to save_config and save_data
* fix : alpha added to load_config and load_data
* doc : docstring updated
* doc : CHANGELOG updated
* fix : autopep8
* doc : AUTHORS.md updated
* fix : overall_test.py updated
* doc : AUTHORS.md updated
2022-02-04 21:56:03 +03:30
Sadra Sabouri
cc96f7b825
Depth parameter added to the nft_storage method ( #94 )
...
* edit : minor edits in save_fig_file.
* edit : depth added to save_fig_buf.
* add : depth added to nft_storage.
* log : changes logged. (#89 )
* tests : tests added to nft_upload_test.
* edit : tests edited.
* add : DEFAULT_DEPTH added to the parameters.
2022-01-29 16:35:02 +03:30
Sadra Sabouri
843ab6684b
Minor Edits Added ( #82 )
...
* fix : point colors bug fixed. (74)
* fix : bug fixed in *filter_params.
* add : plot configs added to save and load data.
* test : minor tests added.
* fix : minor fixes in plot and generate.
* change : minor changes in CHANGELOG.md.
2022-01-06 00:41:33 +03:30
Sadra Sabouri
78f4c9a4d0
Config json Added ( #80 )
...
* fix : typo fixed in docstring.
* unifx : never mind :).
* remove : extra lines removed from Magic section.
* add : samilaConfigError added.
* edit : DEFAULT_PROJECTION edited.
* add : CONFIG_TYPE_ERROR added.
* add : filter_float function added.
* add : save_config_file function added.
* add : load_config function added.
* add : minor imports addded to functions.py.
* add : some imports added to genimage.py.
* fix : whitespace removed.
* add : config parameter added.
* add : save_config method added.
* edit : minor edits in genimage.py.
* edit : minor edits in save/load config.
* edit: minor edits in save/load config.
* add : filter_size added to functions.
* update : minor updated due to last change.
* edit : minor edit in filter_size.
* add : plot_params_filter function added.
* add : generate_params_filter added.
* remove : unneccessary errors and warnings removed.
* update : GenerativeImage __init__ updated due to last commit.
* add : _GI_initializer added.
* edit : make load_data structure similar to load_config.
* fix : typo fixed in functions.
* test : some tests added.
* test : tests added for warning.
* fix : minor bug fixed.
* add : filter_size tests added.
* add : error tests added.
* add : save_config part added.
* fix : typo fixed.
* tests : minor tests added.
* move : function[12]_str moved to __init__ root.
* fix : typo fixed in errors.py.
* fix : typo fixed in README.md.
* fix : typo fixed in CHANGELOG.md.
* add : matplotlib_version attribute added.
* add : samilaPlotError added.
* add : PLOT_DATA_ERROR added.
* update : minor updates due to latest changes.
* remove : extra tests removed.
* edit : PLOT_DATA_ERROR edited.
* test : tests added.
* edit : minor edits in save_config/data.
* add : new error messages added.
* test : tests added.
* fix : typo fixed.
* replace : DATA_NO_DATA_ERROR -> SAVE_NO_DATA_ERROR.
* edit : minor edits in plot_params_filter function.
* add : two parameter added.
* edit : __init__ docstring edited.
* fix : typo fixed in genimage.
* fix : typo fixed in params.py.
* fix : typo fixed in tests.
* fix : typo fixed in CHANGELOG.md.
2022-01-04 18:54:12 +03:30
sepandhaghighi
d96d04a03d
fix : warning test updated #79
2021-12-18 22:38:09 +03:30
sepandhaghighi
a8b41e0832
fix : nft_upload_test updated #32
2021-12-14 19:27:28 +03:30
sepandhaghighi
140ef8ace1
fix : nft_upload_test updated #32
2021-12-14 18:58:27 +03:30
sepandhaghighi
7a325d6da7
fix : tests updated #32
2021-12-14 18:57:28 +03:30
sepandhaghighi
48f7386715
fix : minor bug in matplotlib version fixed
2021-11-04 11:31:56 +03:30
sepandhaghighi
33e32220ef
fix : minor edit in MATPLOTLIB_VERSION_WARNING
2021-11-04 11:01:20 +03:30
sadrasabouri
b9f0987348
test : tests added.
2021-11-02 23:51:37 +03:30
sadrasabouri
855f3b7933
test : new tests added.
2021-10-30 10:01:13 +03:30
sadrasabouri
648bef06b5
test : tests added.
2021-10-29 18:34:31 +03:30
sadrasabouri
c4a62f5463
fix : test fixed.
2021-10-26 00:36:17 +03:30
sadrasabouri
af2f49b7f0
test : save_data error form added.
2021-10-26 00:31:52 +03:30
sadrasabouri
8f596daf20
update : tests updated.
2021-10-23 22:00:25 +03:30
sadrasabouri
df2b3019cc
fix : warning_test fixed.
2021-10-22 14:22:45 +03:30
sadrasabouri
23395954ea
fix : error_test.py fixed.
2021-10-22 14:19:59 +03:30
sadrasabouri
d0e106221f
update : warning_test updated.
2021-10-22 14:10:00 +03:30
sadrasabouri
f2f4c360e2
edit : tiny edit on error_test.py.
2021-10-22 14:03:17 +03:30
sadrasabouri
df6c092fbf
update : tests updated.
2021-10-22 14:00:55 +03:30
sadrasabouri
a5e9c9e14a
edit : parsing edited.
2021-10-22 13:54:44 +03:30
sadrasabouri
9e4f85e1fd
add : error_test.py.
2021-10-22 13:49:40 +03:30
sadrasabouri
e8556992f3
add : new line to warning_test.
2021-10-22 13:48:49 +03:30
sadrasabouri
71b057e072
edit : warning_test edited.
2021-10-22 13:33:10 +03:30
sadrasabouri
b701f6ed91
add : warning_test.py.
2021-10-22 12:59:03 +03:30
sepandhaghighi
1efd092dc6
fix : minor edit in nft_upload_test.py
2021-10-16 01:14:56 +03:30
sadrasabouri
c80fa5aa2d
test : tests added.
2021-10-15 18:45:42 +03:30