Skip to content

Commit

Permalink
delted unused imshow
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoelles committed Sep 4, 2023
1 parent c623777 commit 5572868
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/specarray/specarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import xarray as xr
import pandas as pd
from numpy import ndarray
from spectral import imshow

import dask.array as da
import numpy as np
Expand Down Expand Up @@ -37,8 +36,8 @@ def __post_init__(self):
spectral_data = self._load_spectral_data(mode=mode)
data_array = self._create_data_array(spectral_data, mode)
setattr(self, mode, data_array)
except Exception as e:
print(f"An error occurred reading {mode}: {e}")
except Exception as exception:
print(f"An error occurred reading {mode}: {exception}")

def __len__(self):
"""Return the number of records"""
Expand Down

0 comments on commit 5572868

Please sign in to comment.