Sepand Haghighi
7b0cdfc980
CLI modification ( #238 )
...
* fix : CLI functions moved to cli.py
* fix : setup.py entry-point updated
* fix : run_samila function added to cli.py
* fix : minor edit in main function
* fix : cli_test.py added
* fix : cli_test.py updated
* fix : cli_test.py updated
* fix : cli_test.py updated
* fix : cli_test.py removed
* fix : .coveragerc updated
* fix : pytest.ini updated
* fix : error_test.py updated
* doc : CHANGELOG.md updated
* doc : cli.py docstring updated
* fix : autopep8
* fix : minor edit in test.yml
* fix : PLOT_DATA_ERROR updated
2024-11-17 11:52:53 -08:00
Sepand Haghighi
3ece622bfd
CLI minor edits ( #237 )
...
* fix : entry_points added to setup.py
* fix : CLI helps updated
* feat : print_line function added
* fix : ERR_GENERAL added
* fix : minor edit in test.yml
* fix : autopep8
* fix : function_test.py updated
* doc : minor edit in print_line docstring
* doc : minor edit in print_line docstring
2024-11-13 15:01:50 -08:00
Sepand Haghighi
23b14c7318
New `GenerateMode` ( #223 )
...
* fix : 8 new options added to GenerateMode
* fix : generate method updated
* fix : tests updated
* doc : README.md updated
* doc : CHANGELOG.md added
* fix : minor bug in generate method fixed
* fix : minor bug in GenerateMode enum fixed
2024-08-24 16:34:53 -07:00
Sepand Haghighi
3c0144d045
New `GenerateMode` ( #222 )
...
* fix : f1,f2 renamed to f1_vs_index and f2_vs_index
* feat : 2 new generate mode added
* fix : overall_test.py updated
* doc : README.md updated
* fix : minor typo in overall_test.py fixed
* fix : minor edit in generate method
2024-08-22 16:56:09 -07:00
Sepand Haghighi
e895b97bf7
Generate mode ( #219 )
...
* feat : GenerateMode enum added
* feat : mode added to generate method
* fix : _GI_initializer updated
* fix : generate_params_filter function updated
* fix : __init__.py updated
* fix : minor bug in generate method fixed
* fix : generate_params_filter function updated
* fix : minor bug in generate method fixed
* update : readme updated.
* update : save/load config functions update accordingly.
* test : a test for generation_mode added.
* log : changes logged.
* test : more tests added.
* doc : minor edit in generate mode section in README.md
* fix : autopep8
* doc : generate_mode example updated
---------
Co-authored-by: Sadra Sabouri <sabouri.sadra@gmail.com>
2024-08-14 17:11:51 -07:00
Sadra Sabouri
32b3803e72
Deprecation ( #218 )
...
* add : `DEPRECATION_WARNING` variable added.
* add : `deprecated` decorator added.
* log : changes logged.
* update : tests updated.
* fix : typo fixed.
* fix : typo fixed in tests.
* fix : `warns` imported.
* fix : docstring fixed.
* fix : `deprecated` function moved over `nft_storage` method.
* fix : nft_upload_test.py updated
* fix : nft_upload_test.py updated
* fix : tests indent bugs fixed
* doc : README.md updated
---------
Co-authored-by: sepandhaghighi <sepand.haghighi@yahoo.com>
2024-08-03 07:51:07 +03:30
Sepand Haghighi
874b99b64c
Random mode modification ( #213 )
...
* fix : RANDOM_EQUATION_FOF_MAX_DEPTH set to 2
* fix : ELEMENTS_LIST updated
* doc : CHANGELOG.md updated
* fix : minor edit in overall_test.py (numpy update)
2024-06-19 00:10:38 -07:00
Sadra Sabouri
6a744487f3
`func_seed` added ( #201 )
...
* add : `func_seed` added to GenerativeImage.__init__
* add : "
* log : changes logged.
* readme : readme updated.
* fix : random seed problem fixed.
2023-12-05 19:35:57 +03:30
Sepand Haghighi
1214f1768b
IPFS Gateway ( #197 )
...
* feat : Gateway class added
* feat : gateway parameter added to nft_storage method
* doc : docstring updated
* fix : Gateway enum added to init file
* fix : Gateway class updated
* fix : tests updated
* fix : NFT_STORAGE_LINK removed
* doc : CHANGELOG updated
* doc : README.md updated
* fix : minor edit in nft_upload_test.py
* fix : minor edit in nft_upload_test.py
2023-11-27 22:36:05 -08:00
Sadra Sabouri
ad05ef464d
Minor edit ( #193 )
...
* fix : different ways of matplotlib import unified.
* edit : test system optimized.
* edit : Install section modified.
* fix : doctest issues fixed.
* fix : usecases of `matplotlib` unified.
* pep8 : autpep8ed.
* fix : usecases of `matplotlib` unified.
* delete : `Test with pytest` is now in all Python versions.
2023-05-09 17:21:49 +03:30
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