From 1d74dec41c2275b0c540ddf445a296768aad1dca Mon Sep 17 00:00:00 2001 From: spapa013 Date: Thu, 12 May 2022 10:46:13 -0500 Subject: [PATCH 1/2] fix mat scripts --- deploy/kubernetes/minnie65_download_materialization.py | 4 ++-- deploy/kubernetes/minnie65_download_meshes.py | 4 ++-- deploy/kubernetes/minnie65_download_meshwork_objs.py | 2 +- deploy/kubernetes/minnie65_download_pcg_skeletons.py | 2 +- deploy/kubernetes/minnie65_download_synapses.py | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) mode change 100644 => 100755 deploy/kubernetes/minnie65_download_materialization.py diff --git a/deploy/kubernetes/minnie65_download_materialization.py b/deploy/kubernetes/minnie65_download_materialization.py old mode 100644 new mode 100755 index 297fed8..6f3793d --- a/deploy/kubernetes/minnie65_download_materialization.py +++ b/deploy/kubernetes/minnie65_download_materialization.py @@ -1,6 +1,6 @@ import os -if __name__ == 'main': +if __name__ == '__main__': from microns_materialization.minnie_materialization.minnie65_materialization import download_materialization - download_materialization(ver=int(os.getenv('MICRONS_MAT_VER_TO_DL')), download_meshes=True, download_synapses=True, loglevel=os.getenv('MICRONS_LOGLEVEL')) + download_materialization(ver=os.getenv('MICRONS_MAT_VER_TO_DL'), download_meshes=True, download_synapses=True, loglevel=os.getenv('MICRONS_LOGLEVEL')) diff --git a/deploy/kubernetes/minnie65_download_meshes.py b/deploy/kubernetes/minnie65_download_meshes.py index 9a0d4d1..752cd2b 100644 --- a/deploy/kubernetes/minnie65_download_meshes.py +++ b/deploy/kubernetes/minnie65_download_meshes.py @@ -1,5 +1,5 @@ import os -if __name__ == 'main': +if __name__ == '__main__': from microns_materialization.minnie_materialization.minnie65_materialization import download_materialization - download_materialization(ver=int(os.getenv('MICRONS_MAT_VER_TO_DL')), download_meshes=True, download_synapses=False, loglevel=os.getenv('MICRONS_LOGLEVEL')) \ No newline at end of file + download_materialization(ver=os.getenv('MICRONS_MAT_VER_TO_DL'), download_meshes=True, download_synapses=False, loglevel=os.getenv('MICRONS_LOGLEVEL')) \ No newline at end of file diff --git a/deploy/kubernetes/minnie65_download_meshwork_objs.py b/deploy/kubernetes/minnie65_download_meshwork_objs.py index ebd1e69..e0fa532 100644 --- a/deploy/kubernetes/minnie65_download_meshwork_objs.py +++ b/deploy/kubernetes/minnie65_download_meshwork_objs.py @@ -1,5 +1,5 @@ import os -if __name__ == 'main': +if __name__ == '__main__': from microns_materialization.minnie_materialization.minnie65_materialization import Queue, download_meshwork_objects download_meshwork_objects(Queue.PCGMeshwork, loglevel=os.getenv('MICRONS_LOGLEVEL')) \ No newline at end of file diff --git a/deploy/kubernetes/minnie65_download_pcg_skeletons.py b/deploy/kubernetes/minnie65_download_pcg_skeletons.py index 2426bab..5904e2a 100644 --- a/deploy/kubernetes/minnie65_download_pcg_skeletons.py +++ b/deploy/kubernetes/minnie65_download_pcg_skeletons.py @@ -1,5 +1,5 @@ import os -if __name__ == 'main': +if __name__ == '__main__': from microns_materialization.minnie_materialization.minnie65_materialization import Queue, download_pcg_skeletons download_pcg_skeletons(Queue.PCGSkeleton, loglevel=os.getenv('MICRONS_LOGLEVEL')) \ No newline at end of file diff --git a/deploy/kubernetes/minnie65_download_synapses.py b/deploy/kubernetes/minnie65_download_synapses.py index eeb3641..e2a02dd 100644 --- a/deploy/kubernetes/minnie65_download_synapses.py +++ b/deploy/kubernetes/minnie65_download_synapses.py @@ -1,5 +1,5 @@ import os -if __name__ == 'main': +if __name__ == '__main__': from microns_materialization.minnie_materialization.minnie65_materialization import download_materialization - download_materialization(ver=int(os.getenv('MICRONS_MAT_VER_TO_DL')), download_meshes=False, download_synapses=True, loglevel=os.getenv('MICRONS_LOGLEVEL')) \ No newline at end of file + download_materialization(ver=os.getenv('MICRONS_MAT_VER_TO_DL'), download_meshes=False, download_synapses=True, loglevel=os.getenv('MICRONS_LOGLEVEL')) \ No newline at end of file From 11b2758510a2fe0f97b5c7f156c3701fa2e253b4 Mon Sep 17 00:00:00 2001 From: spapa013 Date: Thu, 12 May 2022 10:46:58 -0500 Subject: [PATCH 2/2] update version --- python/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/version.py b/python/version.py index 4ae81f3..311f216 100644 --- a/python/version.py +++ b/python/version.py @@ -1 +1 @@ -__version__ = "0.0.13" +__version__ = "0.0.14"