Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions deeplabcut/gui/tabs/analyze_videos.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ def _generate_layout_other_options(self, layout):

tmp_layout.addWidget(self.save_as_csv)

self.save_as_nwb = QtWidgets.QCheckBox("Save result(s) as nwb")
self.save_as_nwb.setCheckState(Qt.Unchecked)
self.save_as_nwb.stateChanged.connect(self.update_nwb_choice)

tmp_layout.addWidget(self.save_as_csv)

# Filter predictions
self.filter_predictions = QtWidgets.QCheckBox("Filter predictions")
self.filter_predictions.setCheckState(Qt.Unchecked)
Expand Down Expand Up @@ -222,10 +216,6 @@ def update_csv_choice(self, state):
s = "ENABLED" if state == Qt.Checked else "DISABLED"
self.root.logger.info(f"Save results as CSV {s}")

def update_nwb_choice(self, state):
s = "ENABLED" if state == Qt.Checked else "DISABLED"
self.root.logger.info(f"Save results as NWB {s}")

def update_filter_choice(self, state):
s = "ENABLED" if state == Qt.Checked else "DISABLED"
self.root.logger.info(f"Filtering predictions {s}")
Expand Down Expand Up @@ -333,7 +323,6 @@ def run_enabled(self):

videos = list(self.files)
save_as_csv = self.save_as_csv.isChecked()
save_as_nwb = self.save_as_nwb.isChecked()
filter_data = self.filter_predictions.isChecked()
videotype = self.video_selection_widget.videotype_widget.currentText()
try:
Expand Down Expand Up @@ -382,10 +371,3 @@ def run_enabled(self):
videos,
listofvideos=True,
)

if save_as_nwb:
deeplabcut.analyze_videos_converth5_to_nwb(
config,
videos,
listofvideos=True,
)