Skip to content

Commit

Permalink
fixing byteorder
Browse files Browse the repository at this point in the history
  • Loading branch information
havok2063 committed Dec 5, 2024
1 parent 28c5edf commit 9b2a5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/valis/io/spectra.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def extract_data(product: str, filepath: str, multispec: Union[int, str] = None)
for key, val in data.items():
if key == 'header':
continue
val.dtype = val.dtype.newbyteorder('=')
data[key] = val.byteswap().newbyteorder('=')

return data

Expand Down

0 comments on commit 9b2a5e2

Please sign in to comment.