Skip to content

Commit

Permalink
quick bugfix related to refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
grg2rsr committed Dec 4, 2024
1 parent d34b8c1 commit 84d3034
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/rawdata_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.backends.backend_qt5 import NavigationToolbar2QT as NavigationToolbar

from iblphotometry.io import from_raw_neurophotometrics
from iblphotometry.io import from_raw_neurophotometrics_file
import iblphotometry.plots as plots

import iblphotometry.preprocessing as ffpr
Expand Down Expand Up @@ -108,7 +108,7 @@ def load_file(self):
or file_path.endswith('.pqt')
or file_path.endswith('.parquet')
):
self.td = from_raw_neurophotometrics(file_path)
self.td = from_raw_neurophotometrics_file(file_path)
else:
raise ValueError('Unsupported file format')

Expand All @@ -129,7 +129,7 @@ def load_file(self):
self.update_column_selector()

# Load into Pynapple dataframe
self.td = from_raw_neurophotometrics(file_path)
self.td = from_raw_neurophotometrics_file(file_path)

# Set filter combo box
self.filter_selector.setCurrentIndex(0) # Reset to "Select Filter"
Expand Down

0 comments on commit 84d3034

Please sign in to comment.