mippy 2.22.3__tar.gz → 2.22.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mippy-2.22.3 → mippy-2.22.6}/PKG-INFO +3 -2
- {mippy-2.22.3 → mippy-2.22.6}/mippy/application.py +69 -67
- {mippy-2.22.3 → mippy-2.22.6}/mippy.egg-info/PKG-INFO +3 -2
- {mippy-2.22.3 → mippy-2.22.6}/mippy.egg-info/requires.txt +2 -1
- {mippy-2.22.3 → mippy-2.22.6}/LICENSE +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/README.md +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/__init__.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/fileio.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/html.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/improcess.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/launcher.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/16_colors.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/blue.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/colours_roman.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/cyan.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/fire.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/green.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/green_fire_blue.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/hi_lo.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/ice.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/magenta.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/phase.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/physics.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/rainbow.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/red.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/red_green.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/red_grey_green.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/red_grey_green_clipped.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/spectrum.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/luts/yellow.csv +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/math.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/__init__.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/anon.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/io.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/miners/SIEMENS.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/miners/__init__.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/miners/ge_fallback.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/miners/implementations.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/miners/philips_fallback.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/miners/siemens_fallback.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/miners/syngo_mr_xa20a.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/miners/syngo_mr_xa31a.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/mrenhanced.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/mrspectroscopy.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/pixel.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/reading.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/siemens.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/sorting.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mdicom/xml.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/misc.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mlogging.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mviewer/__init__.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mviewer/config +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/mviewer/module_main.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/add.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/brain_bw.xbm +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/brain_orange.ico +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/common.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/dcmdjpeg_linux +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/dcmdjpeg_mac +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/dcmdjpeg_win.exe +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/ellipse_roi.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/freehand_roi.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/line_roi.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/mrs.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/roi_circle.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/roi_ellipse.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/roi_freehand.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/roi_line.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/roi_rectangular.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/roi_rectangular_ab.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/splash11.jpg +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/splash20.bmp +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/splash20.jpg +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/splash3.jpg +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/square_roi.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/resources/subtract.png +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/splash.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/threading.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy/viewing.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy.egg-info/SOURCES.txt +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy.egg-info/dependency_links.txt +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/mippy.egg-info/top_level.txt +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/scripts/_mippy.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/scripts/mippy.bat +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/scripts/setup_mippy.bat +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/scripts/setup_mippy.py +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/setup.cfg +0 -0
- {mippy-2.22.3 → mippy-2.22.6}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mippy
|
|
3
|
-
Version: 2.22.
|
|
3
|
+
Version: 2.22.6
|
|
4
4
|
Summary: Modular Image Processing in Python
|
|
5
5
|
Home-page: https://gitlab.com/rbf906/mippy
|
|
6
6
|
Author: Robert Flintham
|
|
@@ -28,7 +28,8 @@ Requires-Dist: termcolor
|
|
|
28
28
|
Requires-Dist: psutil
|
|
29
29
|
Requires-Dist: pyscreenshot
|
|
30
30
|
Requires-Dist: threadpoolctl
|
|
31
|
-
Requires-Dist: setuptools
|
|
31
|
+
Requires-Dist: setuptools<81
|
|
32
|
+
Requires-Dist: dicom2nifti
|
|
32
33
|
Dynamic: author
|
|
33
34
|
Dynamic: author-email
|
|
34
35
|
Dynamic: classifier
|
|
@@ -784,73 +784,75 @@ class MIPPYMain(Frame):
|
|
|
784
784
|
# print(pkg_info)
|
|
785
785
|
# print(pkg_info['Name'],pkg_info['Version'])
|
|
786
786
|
# Try to check for newer version of the module
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
787
|
+
### VERSION CHECK DISABLED AS BINTRAY NO LONGER AVAILABLE
|
|
788
|
+
### INVESTIGATE NEW SERVICE
|
|
789
|
+
# try:
|
|
790
|
+
# # print(pkg_info)
|
|
791
|
+
# # print('URL: {}'.format(pkg_info['Home-page']))
|
|
792
|
+
# if 'api.bintray.com' in pkg_info['Home-page'] and not skip_update:
|
|
793
|
+
# # Check if proxy required, and if proxy requires authentication
|
|
794
|
+
# proxies = None
|
|
795
|
+
# if len(self.proxy_list)>0:
|
|
796
|
+
# auth_required = False
|
|
797
|
+
# for proxy in self.proxy_list:
|
|
798
|
+
# if proxy['auth_required']:
|
|
799
|
+
# auth_required = True
|
|
800
|
+
# # If auth required, collect user/password
|
|
801
|
+
# from easygui import multpasswordbox
|
|
802
|
+
# fieldNames = ['Username','Password']
|
|
803
|
+
# title = 'Proxy authentication required'
|
|
804
|
+
# fieldValues = [self.user.lower(),'']
|
|
805
|
+
# message = ('Please enter your username and password for the proxy server to check for '
|
|
806
|
+
# 'updates to {}'.format(pkg_info['Name']))
|
|
807
|
+
# fieldValues = multpasswordbox(message,title,fieldNames, fieldValues)
|
|
808
|
+
|
|
809
|
+
# # make sure that none of the fields was left blank
|
|
810
|
+
# while 1:
|
|
811
|
+
# if fieldValues == None: break
|
|
812
|
+
# errmsg = ""
|
|
813
|
+
# for i in range(len(fieldNames)):
|
|
814
|
+
# if fieldValues[i].strip() == "":
|
|
815
|
+
# errmsg = errmsg + ('"%s" is a required field.\n\n' % fieldNames[i])
|
|
816
|
+
# if errmsg == "": break # no problems found
|
|
817
|
+
# fieldValues = multpasswordbox(errmsg, title, fieldNames, fieldValues)
|
|
818
|
+
# if not fieldValues is None:
|
|
819
|
+
# proxies = {}
|
|
820
|
+
# for proxy in self.proxy_list:
|
|
821
|
+
# proxy_info = '{}://{}:{}@{}:{}'.format( proxy['protocol'],
|
|
822
|
+
# fieldValues[0],
|
|
823
|
+
# fieldValues[1],
|
|
824
|
+
# proxy['address'],
|
|
825
|
+
# proxy['port'])
|
|
826
|
+
# print(proxy_info)
|
|
827
|
+
# proxies[proxy['protocol']]=proxy_info
|
|
828
|
+
# r = requests.get(pkg_info['Home-page'],proxies=proxies)
|
|
829
|
+
# print(r.json())
|
|
830
|
+
# latest_version = r.json()['latest_version']
|
|
831
|
+
# remote_pkg_name = r.json()['name']
|
|
832
|
+
# print(folder.replace(pkg_info['Version'],latest_version))
|
|
833
|
+
# print("Installed version: {}\nAvailable version: {}".format(pkg_info['Version'],latest_version))
|
|
834
|
+
# if parse_version(latest_version)>parse_version(pkg_info['Version']):
|
|
835
|
+
# download = tkinter.messagebox.askyesno(title="New version available",
|
|
836
|
+
# message="A newer version of {} is available. Download?".format(remote_pkg_name))
|
|
837
|
+
# if download==True:
|
|
838
|
+
# # Get file info for latest version
|
|
839
|
+
# r = requests.get(pkg_info['Home-page']+'/versions/'+latest_version+'/files',proxies=proxies)
|
|
840
|
+
# r_owner=r.json()[0]['owner']
|
|
841
|
+
# r_repo=r.json()[0]['repo']
|
|
842
|
+
# r_path=r.json()[0]['path']
|
|
843
|
+
# r_url = 'https://dl.bintray.com/'+r_owner+'/'+r_repo+'/'+r_path
|
|
844
|
+
# print(r_url)
|
|
845
|
+
# r_file = r = requests.get(r_url,proxies=proxies)
|
|
846
|
+
# # Write r_file.content (a byte stream) to the modules folder and move current folder to backups??
|
|
847
|
+
# print(r_file)
|
|
848
|
+
# with open(os.path.join(self.moduledir,r_path),'wb') as r_outfile:
|
|
849
|
+
# r_outfile.write(r_file.content)
|
|
850
|
+
# modules_to_backup.append(this_eggpath)
|
|
851
|
+
# elif parse_version(latest_version)<parse_version(pkg_info['Version']):
|
|
852
|
+
# print("Local version is newer! Weird...")
|
|
853
|
+
|
|
854
|
+
# except requests.exceptions.ConnectionError:
|
|
855
|
+
# cprint("ERROR: Unable to connect to repository for version check")
|
|
854
856
|
|
|
855
857
|
|
|
856
858
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mippy
|
|
3
|
-
Version: 2.22.
|
|
3
|
+
Version: 2.22.6
|
|
4
4
|
Summary: Modular Image Processing in Python
|
|
5
5
|
Home-page: https://gitlab.com/rbf906/mippy
|
|
6
6
|
Author: Robert Flintham
|
|
@@ -28,7 +28,8 @@ Requires-Dist: termcolor
|
|
|
28
28
|
Requires-Dist: psutil
|
|
29
29
|
Requires-Dist: pyscreenshot
|
|
30
30
|
Requires-Dist: threadpoolctl
|
|
31
|
-
Requires-Dist: setuptools
|
|
31
|
+
Requires-Dist: setuptools<81
|
|
32
|
+
Requires-Dist: dicom2nifti
|
|
32
33
|
Dynamic: author
|
|
33
34
|
Dynamic: author-email
|
|
34
35
|
Dynamic: classifier
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|