diff --git a/GraXpert-macos-x86_64.spec b/GraXpert-macos-x86_64.spec index fd6af37..119a99b 100644 --- a/GraXpert-macos-x86_64.spec +++ b/GraXpert-macos-x86_64.spec @@ -52,6 +52,7 @@ app = BUNDLE(coll, icon='./img/Icon.ico', bundle_identifier=None, info_plist={ - 'CFBundleShortVersionString': 'RELEASE (SNAPSHOT)' + 'CFBundleShortVersionString': 'RELEASE (SNAPSHOT)', + 'NSHighResolutionCapable': 'True' } ) \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index ec92bc6..e343ae7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ astropy hdpitkinter Pillow pykrige -scikit-image -scipy +scikit-image == 0.19.0 +scipy == 1.8.1 screeninfo xisf \ No newline at end of file diff --git a/src/astroimage.py b/src/astroimage.py index b05839a..b861e1a 100644 --- a/src/astroimage.py +++ b/src/astroimage.py @@ -44,6 +44,10 @@ def set_from_file(self, directory): self.xisf_metadata = xisf.get_file_metadata() self.image_metadata = xisf.get_images_metadata()[0] img_array = xisf.read_image(0) + + entry = {'id': 'BackgroundExtraction', 'type': 'String', 'value': 'GraXpert'} + self.image_metadata['XISFProperties'] = {"ProcessingHistory": entry} + else: img_array = io.imread(directory)