9e064e1c15965a28f36b4613d2f6697a5db90b81,deeplabcut/gui/video_editing.py,Video_Editing,__init__,#Video_Editing#Any#Any#Any#,28
Before Change
self.reset = wx.Button(self, label="Reset")
self.sizer.Add(
self.reset, pos=(5, 1), span=(1, 1), flag=wx.BOTTOM | wx.RIGHT, border=10
)
self.reset.Bind(wx.EVT_BUTTON, self.reset_edit_videos)
After Change
flag=wx.EXPAND | wx.TOP | wx.LEFT | wx.RIGHT,
border=10,
)
angle = wx.StaticBox(self, label="Angle for arbitrary rotation (deg)")
vangle_boxsizer = wx.StaticBoxSizer(angle, wx.VERTICAL)
self.vangle = FS.FloatSpin(self, value="0.0", min_val=-360.0, max_val=360.0, digits=2)
vangle_boxsizer.Add(self.vangle, 1, wx.EXPAND | wx.TOP | wx.BOTTOM, 10)
video_start = wx.StaticBox(self, label="Shorten: start time (sec)")
vstart_boxsizer = wx.StaticBoxSizer(video_start, wx.VERTICAL)
self.vstart = wx.SpinCtrl(self, value="1", min=0, max=3600)
vstart_boxsizer.Add(self.vstart, 1, wx.EXPAND | wx.TOP | wx.BOTTOM, 10)
video_stop = wx.StaticBox(self, label="Shorten: stop time (sec)")
vstop_boxsizer = wx.StaticBoxSizer(video_stop, wx.VERTICAL)
self.vstop = wx.SpinCtrl(self, value="30", min=1, max=3600)
vstop_boxsizer.Add(self.vstop, 1, wx.EXPAND | wx.TOP | wx.BOTTOM, 10)
hbox2.Add(vstart_boxsizer, 10, wx.EXPAND | wx.TOP | wx.BOTTOM, 10)
hbox2.Add(vstop_boxsizer, 10, wx.EXPAND | wx.TOP | wx.BOTTOM, 10)
hbox2.Add(vangle_boxsizer, 10, wx.EXPAND | wx.TOP | wx.BOTTOM, 10)
boxsizer.Add(hbox2, 0, wx.EXPAND | wx.TOP | wx.BOTTOM, 10)
self.help_button = wx.Button(self, label="Help")
self.sizer.Add(self.help_button, pos=(5, 0), flag=wx.LEFT, border=10)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: AlexEMG/DeepLabCut
Commit Name: 9e064e1c15965a28f36b4613d2f6697a5db90b81
Time: 2021-03-30
Author: mathis@rowland.harvard.edu
File Name: deeplabcut/gui/video_editing.py
Class Name: Video_Editing
Method Name: __init__
Project Name: CellProfiler/CellProfiler
Commit Name: 2e7b099bdd2478a28bf8a65d90912659340f4fbf
Time: 2013-02-04
Author: leek@broadinstitute.org
File Name: cellprofiler/gui/preferencesview.py
Class Name: PreferencesView
Method Name: __init__
Project Name: AlexEMG/DeepLabCut
Commit Name: c76174d3de7f70bb09d2667f7d241c73a839fd9c
Time: 2021-03-28
Author: 54865575+KonradDanielewski@users.noreply.github.com
File Name: deeplabcut/gui/video_editing.py
Class Name: Video_Editing
Method Name: __init__