Skip to content

Commit

Permalink
Tethys RC-6
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffenhir committed Oct 20, 2022
2 parents 5133c1b + 4a08f8c commit 9336ea2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion GraXpert-macos-x86_64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ app = BUNDLE(coll,
icon='./img/Icon.ico',
bundle_identifier=None,
info_plist={
'CFBundleShortVersionString': 'RELEASE (SNAPSHOT)'
'CFBundleShortVersionString': 'RELEASE (SNAPSHOT)',
'NSHighResolutionCapable': 'True'
}
)
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ astropy
hdpitkinter
Pillow
pykrige
scikit-image
scipy
scikit-image == 0.19.0
scipy == 1.8.1
screeninfo
xisf
4 changes: 4 additions & 0 deletions src/astroimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9336ea2

Please sign in to comment.