Skip to content

Commit 189abf4

Browse files
committed
Push to version 0.6.0
1 parent 9a9726e commit 189abf4

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

agml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = '0.5.2'
15+
__version__ = '0.6.0'
1616
__all__ = ['data', 'synthetic', 'backend', 'viz', 'io']
1717

1818

tests/main.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,33 +21,35 @@
2121
_USED_DATASETS = ['bean_disease_uganda', 'apple_flower_segmentation', 'apple_detection_usa']
2222
_PREEXISTING_DATASETS = []
2323

24+
2425
def _find_preexisting_datasets():
2526
global _USED_DATASETS, _PREEXISTING_DATASETS, BASE_PATH
2627
for dataset in _USED_DATASETS:
2728
if os.path.exists(os.path.join(BASE_PATH, dataset)) \
2829
and os.path.isdir(os.path.join(BASE_PATH, dataset)):
2930
_PREEXISTING_DATASETS.append(dataset)
3031

32+
3133
def _remove_new_datasets():
3234
global _USED_DATASETS, _PREEXISTING_DATASETS, BASE_PATH
3335
for dataset in _USED_DATASETS:
3436
if dataset not in _PREEXISTING_DATASETS:
3537
shutil.rmtree(dataset)
3638

39+
3740
def pre_test_configure():
3841
_find_preexisting_datasets()
3942

43+
4044
def post_test_cleanup():
4145
_remove_new_datasets()
4246

47+
4348
def execute_tests():
4449
pre_test_configure()
4550
pytest.main()
4651
post_test_cleanup()
4752

53+
4854
if __name__ == '__main__':
4955
execute_tests()
50-
51-
52-
53-

0 commit comments

Comments
 (0)