diff --git a/mseedpeek/mseedpeek.py b/mseedpeek/mseedpeek.py
index 15572eb245bc1900cdf46f9e32f0f9a6d93d545b..badfd5b453e68db69e609e84e30e41830564ff30 100644
--- a/mseedpeek/mseedpeek.py
+++ b/mseedpeek/mseedpeek.py
@@ -146,6 +146,7 @@ from mseedpeek.mseedInfo import *
 VERSION = "2023.1.0.0"
 SPACE = " "
 
+
 def main():
     """
     Main class for mseedpeek
@@ -279,9 +280,9 @@ class MainWindow(QtWidgets.QWidget):
 
         # add tab widget and info bar to main window layout
         self.window_layout.addWidget(self.tabwidget)
-        self.build_trace_headers() # build widgets for Trace Headers tab
+        self.build_trace_headers()  # build widgets for Trace Headers tab
         self.window_layout.addWidget(self.infobar)
-        self.window_layout.setMargin(0) # set spacing
+        self.window_layout.setMargin(0)  # set spacing
 
     def build_help(self):
         """
@@ -291,14 +292,15 @@ class MainWindow(QtWidgets.QWidget):
         layout = QtWidgets.QVBoxLayout(self.help_tab)
 
         # Help textbox
-        Blue = QtGui.QColor(0,0,153)
-        Green = QtGui.QColor(0,100,0)
+        Blue = QtGui.QColor(0, 0, 153)
+        Green = QtGui.QColor(0, 100, 0)
         Red = QtGui.QColor(136, 8, 8)
-        Black = QtGui.QColor(0,0,0)
+        Black = QtGui.QColor(0, 0, 0)
 
         help_text = QtWidgets.QTextEdit()
         layout.addWidget(help_text)
-        help_text.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarPolicy.ScrollBarAlwaysOff)
+        help_text.setVerticalScrollBarPolicy(
+            QtCore.Qt.ScrollBarPolicy.ScrollBarAlwaysOff)
         help_text.setAcceptRichText(False)
 
         # Name
@@ -306,7 +308,8 @@ class MainWindow(QtWidgets.QWidget):
         text = "NAME"
         help_text.insertPlainText(text)
         help_text.setTextColor(Black)
-        text = "\n" + SPACE + "mseedpeek - GUI for displaying mseed file headers.\n\n"
+        text = "\n" + SPACE + "mseedpeek - \
+            GUI for displaying mseed file headers.\n\n"
         help_text.insertPlainText(text)
 
         # Version
@@ -322,8 +325,8 @@ class MainWindow(QtWidgets.QWidget):
         text = "SYNOPSIS"
         help_text.insertPlainText(text)
         help_text.setTextColor(Black)
-        text = "\n" + SPACE + "mseedpeek\n" + SPACE +\
-              "mseedpeek -#\n" + SPACE + "mseedpeek -f file_names\n\n"
+        text = "\n" + SPACE + "mseedpeek\n" + SPACE + "\
+            mseedpeek -#\n" + SPACE + "mseedpeek -f file_names\n\n"
         help_text.insertPlainText(text)
 
         # Options
@@ -373,10 +376,11 @@ class MainWindow(QtWidgets.QWidget):
         help_text.insertPlainText(text)
         help_text.setTextColor(Black)
         text = SPACE + "General:\n" + SPACE + "    \
-            >> specify/load directories for building trace db\n" + SPACE + \
-                "    >> select trace for header display\n" + SPACE + \
-                    "    >> select level of verbosity for display\n\n" + SPACE + \
-                        "Buttons:\n"
+            >> specify/load directories for building trace db\n" + SPACE + "\
+                        >> select trace for header display\n" + SPACE + "\
+                                    >> select level of verbosity for \
+                                        display\n\n" + SPACE + "\
+                                            Buttons:\n"
         help_text.insertPlainText(text)
         help_text.setTextColor(Red)
         text = SPACE + "    <Build Trace db>"
@@ -384,9 +388,10 @@ class MainWindow(QtWidgets.QWidget):
         help_text.setTextColor(Black)
         text = ": Searchs the directories listed in the \"Data-Directories\" \
             entry box \n" + SPACE + "    (a colon separated list) and builds a \
-                list of mseed files found indexing them on unique values of\n" + \
-                    SPACE + "    <dir>:<file_name>. It then creates a dropdown menu \
-                        with entries for each data directory\n" + SPACE + "    found.\n"
+                list of mseed files found indexing them on unique values of\n\
+                    " + SPACE + "    <dir>:<file_name>. It then creates a \
+                        dropdown menu with entries for each data \
+                            directory\n" + SPACE + "    found.\n"
         help_text.insertPlainText(text)
         help_text.setTextColor(Red)
         text = SPACE + "    <Find>"
@@ -413,8 +418,8 @@ class MainWindow(QtWidgets.QWidget):
         help_text.insertPlainText(text)
         help_text.setTextColor(Black)
         text = ": This is the default. It displays Station, Channel, \
-            Location Code, Net Code, and the\n" + SPACE + \
-                "    nominal Sample Rate.\n"
+            Location Code, Net Code, and the\n" + SPACE + "\
+                        nominal Sample Rate.\n"
         help_text.insertPlainText(text)
         help_text.setTextColor(Red)
         text = SPACE + "    <Verbose>"
@@ -432,7 +437,8 @@ class MainWindow(QtWidgets.QWidget):
         text = SPACE + "    <Unique>"
         help_text.insertPlainText(text)
         help_text.setTextColor(Black)
-        text = ": This displays changes in the Standard fields within a mseed file.\n\n"
+        text = ": This displays changes in the Standard fields within a mseed\
+              file.\n\n"
         help_text.insertPlainText(text)
         text = SPACE + "Slider Scale and "
         help_text.insertPlainText(text)
@@ -442,19 +448,21 @@ class MainWindow(QtWidgets.QWidget):
         help_text.setTextColor(Black)
         text = "Button:\n" + SPACE + "    At the bottom of the page \
             is a scale bar showing block numbers. Sliding the bar \
-                scans through all\n" + SPACE + \
-                    "    fixed headers for the selected mseed file.\n\n"
+                scans through all\n\
+                    " + SPACE + "    fixed headers for the selected \
+                        mseed file.\n\n"
         help_text.insertPlainText(text)
         help_text.setTextColor(Red)
         text = SPACE + "<Flush Directories>"
         help_text.insertPlainText(text)
         help_text.setTextColor(Black)
         text = ": Clears cached trace header data. As you view \
-            mseed headers, mseedpeek\n" + SPACE + \
-                "    maintains a cache of previously viewed headers \
-                    for quick, future access. If you wish to monitor\n" + \
-                        SPACE + "    changes to mseed files you need to \
-                            flush the dictionaries so that the \
+            mseed headers, mseedpeek\n\
+                " + SPACE + "    maintains a cache of previously \
+                    viewed headers for quick, future access. If \
+                        you wish to monitor\n\
+                        " + SPACE + "    changes to mseed files you \
+                            need to flush the dictionaries so that the \
                                 new changes will be displayed.\n\n"
         help_text.insertPlainText(text)
         help_text.setTextColor(Green)
@@ -464,19 +472,21 @@ class MainWindow(QtWidgets.QWidget):
         text = ":\n"
         help_text.insertPlainText(text)
         text = SPACE + "    The 'Blockettes' notebook displays all blockettes \
-            found for the select mseed file in a dropdown menu.\n" + SPACE + \
-                "    By selecting a blockette from the dropdown menu, the contents \
+            found for the select mseed file in a dropdown menu.\n\
+                " + SPACE + "    By selecting a blockette from the \
+                    dropdown menu, the contents \
                     of the blockette will be\n" + SPACE + "    displayed.\n"
         help_text.insertPlainText(text)
         help_text.setTextColor(Red)
         text = SPACE + "    <Blockette Info>"
         help_text.insertPlainText(text)
         help_text.setTextColor(Black)
-        text = ": Displays a pop-up window with a definition of the SEED Blockette.\n\n"
+        text = ": Displays a pop-up window with a definition of the \
+            SEED Blockette.\n\n"
         help_text.insertPlainText(text)
         text = SPACE + "    At the bottom of the page is a scale bar showing \
-            block numbers and sliding the bar scans through all\n" + SPACE + \
-                "    blockettes for the selected mseed file.\n\n"
+            block numbers and sliding the bar scans through all\n\
+                " + SPACE + "    blockettes for the selected mseed file.\n\n"
         help_text.insertPlainText(text)
         help_text.setTextColor(Blue)
         text = "KEYWORDS\n"
@@ -542,7 +552,8 @@ class MainWindow(QtWidgets.QWidget):
         Build widgets for Trace Headers tab
         """
         # tab layout
-        self.trace_headers_layout = QtWidgets.QVBoxLayout(self.trace_headers_tab)
+        self.trace_headers_layout = QtWidgets.QVBoxLayout(
+            self.trace_headers_tab)
 
         # groupboxes for data fields
         self.datadir_box = QtWidgets.QGroupBox()
@@ -587,11 +598,13 @@ class MainWindow(QtWidgets.QWidget):
 
         # fill flush / exit groubpx
         self.exit_btn = QtWidgets.QPushButton("Exit")
-        self.exit_btn.setStyleSheet("QPushButton::hover{background-color:darkred;}")
+        self.exit_btn.setStyleSheet(
+            "QPushButton::hover{background-color:darkred;}")
         self.exit_btn.clicked.connect(lambda: quit())
         self.flush_btn = QtWidgets.QPushButton("Flush Directories")
         self.flush_btn.clicked.connect(self.flush_dict)
-        self.flush_btn.setStyleSheet("QPushButton::hover{background-color:orange;}")
+        self.flush_btn.setStyleSheet(
+            "QPushButton::hover{background-color:orange;}")
         flush_exit_layout.addWidget(self.flush_btn)
         flush_exit_layout.addWidget(self.exit_btn)
 
@@ -600,7 +613,8 @@ class MainWindow(QtWidgets.QWidget):
         self.dd_text = QtWidgets.QLineEdit()
         self.build_trace_btn = QtWidgets.QPushButton("Build Trace db")
         self.build_trace_btn.setStyleSheet("QPushButton{background-color:lightblue;} \
-                                            QPushButton::hover{background-color:green;}")
+                                            QPushButton::hover\
+                                           {background-color:green;}")
         self.build_trace_btn.clicked.connect(self.clicked_build_trace)
         self.find_btn = QtWidgets.QPushButton("Find")
         self.find_btn.clicked.connect(self.clicked_find)
@@ -613,10 +627,12 @@ class MainWindow(QtWidgets.QWidget):
         datadir_layout.addWidget(self.clear_btn)
 
         # stations widgets
-        self.stations_label = QtWidgets.QLabel("Find only stations (colon separated list):")
+        self.stations_label = QtWidgets.QLabel(
+            "Find only stations (colon separated list):")
         self.stations_text = QtWidgets.QLineEdit()
         self.stations_clear_btn = QtWidgets.QPushButton("Clear")
-        self.stations_clear_btn.clicked.connect(lambda: self.stations_text.clear())
+        self.stations_clear_btn.clicked.connect(
+            lambda: self.stations_text.clear())
         stations_layout.addWidget(self.stations_label)
         stations_layout.addWidget(self.stations_text)
         stations_layout.addWidget(self.stations_clear_btn)
@@ -639,7 +655,7 @@ class MainWindow(QtWidgets.QWidget):
         # adds distance between rbuttons and "Header Endianess"
         spacerItem = QtWidgets.QSpacerItem(250, 0,
                                            QtWidgets.QSizePolicy.Expanding,
-                                            QtWidgets.QSizePolicy.Minimum)
+                                           QtWidgets.QSizePolicy.Minimum)
 
         self.header_endianess_label = QtWidgets.QLabel("Header Endianess")
         self.header_endianess_text = QtWidgets.QLineEdit()
@@ -659,7 +675,8 @@ class MainWindow(QtWidgets.QWidget):
         self.dir_menu.activated.connect(lambda: self.select_dir_trace("dir"))
         self.trace_label = QtWidgets.QLabel("Trace:")
         self.trace_menu = QtWidgets.QComboBox()
-        self.trace_menu.activated.connect(lambda: self.select_dir_trace("trace"))
+        self.trace_menu.activated.connect(
+            lambda: self.select_dir_trace("trace"))
         dir_trace_layout.addRow(self.dir_label, self.dir_menu)
         dir_trace_layout.addRow(self.trace_label, self.trace_menu)
         self.dir_trace_box.hide()
@@ -669,12 +686,13 @@ class MainWindow(QtWidgets.QWidget):
         # stacked widget (jump box)
         self.standard_box = StandardBox(self.standard_vars)
         self.verbose_box = VerboseBox(self.standard_vars, self.v_vars)
-        self.vv_box = VVBox(self.first_vv_vars, self.standard_vars, self.v_vars, self.vv_vars)
+        self.vv_box = VVBox(
+            self.first_vv_vars, self.standard_vars, self.v_vars, self.vv_vars)
         self.unique_box = UniqueBox()
 
         self.jump_box = QtWidgets.QStackedWidget()
         self.jump_box.setStyleSheet("QGroupBox{border:0;}")
-        self.jump_box.setMinimumSize(0,200)
+        self.jump_box.setMinimumSize(0, 200)
         self.jump_box.addWidget(self.standard_box)
         self.jump_box.addWidget(self.verbose_box)
         self.jump_box.addWidget(self.vv_box)
@@ -682,10 +700,12 @@ class MainWindow(QtWidgets.QWidget):
 
         # slider
         self.slider_box = SliderBox()
-        self.slider_box.slider.valueChanged.connect(lambda: self.update_slider("slider"))
-        self.slider_box.jump_menu.currentTextChanged.connect(lambda: self.update_slider("menu"))
-        self.unique_box.unique_jump.currentIndexChanged.connect(lambda:
-                                                                self.update_slider("unique"))
+        self.slider_box.slider.valueChanged.connect(
+            lambda: self.update_slider("slider"))
+        self.slider_box.jump_menu.currentTextChanged.connect(
+            lambda: self.update_slider("menu"))
+        self.unique_box.unique_jump.currentIndexChanged.connect(
+            lambda: self.update_slider("unique"))
 
         # add everything to trace headers layout
         self.trace_headers_layout.addWidget(self.datadir_box)
@@ -759,8 +779,8 @@ class MainWindow(QtWidgets.QWidget):
 
         if self.dir_list:
             (num_files, err_files) = self.find_trace()
-            text = "Done. " + str(num_files) + " mseed files found. ***" \
-            + str(err_files) + " files with errors."
+            text = "Done. " + str(num_files) + " mseed files found. ***\
+                " + str(err_files) + " files with errors."
             self.update_infobar(text, "green")
 
     def hide_show(self, action):
@@ -868,7 +888,7 @@ class MainWindow(QtWidgets.QWidget):
                         print("File Open Error: %s" % fullname, e)
                 cnt += 1
                 if (os.path.isdir(fullname) or (os.path.islink(fullname) and
-                                             not os.path.isfile(fullname))):
+                                                not os.path.isfile(fullname))):
                     stack.append(fullname)
 
         self.dir_trace_dict = {}
@@ -980,8 +1000,8 @@ class MainWindow(QtWidgets.QWidget):
                     seekval = (n * blksize) + addseek
                     (blktype, next) = rdfile.typenxt(seekval)
                     # builds command to read specific blockette
-                    blklist = eval("rdfile.blk" + str(blktype) +
-                                "(" + str(seekval) + ")")
+                    blklist = eval("rdfile.blk" + str(blktype) + "\
+                                   (" + str(seekval) + ")")
                     if blklist:
                         # handle awkward lists w/ muli-byte reserve, array, or
                         # calib fields
@@ -1046,14 +1066,16 @@ class MainWindow(QtWidgets.QWidget):
         # block/unblock widget signals
         self.slider_box.slider.blockSignals(True)
         self.slider_box.jump_menu.blockSignals(True)
-        self.slider_box.slider.setTickPosition(self.slider_box.slider.TicksBelow)
-        self.slider_box.slider.setRange(0, self.num_blocks-1)
+        self.slider_box.slider.setTickPosition(
+            self.slider_box.slider.TicksBelow)
+        self.slider_box.slider.setRange(0, self.num_blocks - 1)
         i = 0
         self.slider_box.jump_menu.clear()
         while i < self.num_blocks:
             self.slider_box.jump_menu.insertItem(i, str(i))
             i += 1
-        self.slider_box.slider.setTickInterval(self.slider_box.slider.maximum() / 5)
+        self.slider_box.slider.setTickInterval(
+            self.slider_box.slider.maximum() / 5)
         self.slider_box.jump_menu.blockSignals(False)
         self.slider_box.slider.blockSignals(False)
 
@@ -1111,7 +1133,8 @@ class MainWindow(QtWidgets.QWidget):
                         # create new labels
                         for x in range(1, len(values)):
                             label = QtWidgets.QLabel()
-                            label.setText(str(values[x]) + " " + str(blocktuple[x-1]))
+                            label.setText(str(values[x]) + " " +
+                                          str(blocktuple[x - 1]))
                             layout.addWidget(label)
 
     def blkinfo_window(self):
@@ -1119,16 +1142,16 @@ class MainWindow(QtWidgets.QWidget):
         Popup window for blk info button
         """
         self.info_window = QtWidgets.QWidget()
-        self.info_window.resize(650,400)
+        self.info_window.resize(650, 400)
         self.info_window.setWindowTitle("Blockette Information")
 
         # widgets
         blk_label = QtWidgets.QLabel("Blockette:")
         blk_menu = QtWidgets.QComboBox()
-        blk_menu.activated.connect(lambda: info_box.setText(
-            BlkInfoDict[int(blk_menu.currentText())])\
-                                   if blk_menu.currentText().isdigit() else \
-                                    info_box.setText(BlkInfoDict[blk_menu.currentText()]))
+        blk_menu.activated.connect(
+            lambda: info_box.setText(BlkInfoDict[int(blk_menu.currentText())])
+            if blk_menu.currentText().isdigit()
+            else info_box.setText(BlkInfoDict[blk_menu.currentText()]))
         info_box = QtWidgets.QTextEdit()
         done_btn = QtWidgets.QPushButton("Done")
         done_btn.setStyleSheet("QPushButton{background-color:lightblue;}\
@@ -1158,13 +1181,14 @@ class MainWindow(QtWidgets.QWidget):
         Fills standard info on HdrDisplay
         """
         try:
-            standard_widgets = self.standard_box.findChildren(QtWidgets.QLineEdit)
+            standard_widgets = self.standard_box.findChildren(
+                QtWidgets.QLineEdit)
             rate = self.rate_dict[key]
             vars = []
             # SeqNum, DHQual, res, Stat, Loc, Chan, Net
             vars.append(self.fixed_hdr_dict[key][0])
             vars = list(itertools.chain.from_iterable(vars))
-            vars = vars[3:] # remove SeqNum, DHQual, res
+            vars = vars[3:]  # remove SeqNum, DHQual, res
             vars.append(rate)
 
             for x in range(len(vars)):
@@ -1185,7 +1209,8 @@ class MainWindow(QtWidgets.QWidget):
         Fills verbose info on HdrDisplay
         """
         try:
-            verbose_widgets = self.verbose_box.findChildren(QtWidgets.QLineEdit)
+            verbose_widgets = self.verbose_box.findChildren(
+                QtWidgets.QLineEdit)
             rate = self.rate_dict[key]
             vars = []
             # SeqNum, DHQual, res, Stat, Loc, Chan, Net
@@ -1194,8 +1219,8 @@ class MainWindow(QtWidgets.QWidget):
             # Year, Day, Hour, Min, Sec, junk, Micro
             vars.append(self.fixed_hdr_dict[key][1])
             vars = list(itertools.chain.from_iterable(vars))
-            vars = vars[3:] # remove SeqNum, DHQual, res
-            del vars[-2] # remove junk
+            vars = vars[3:]  # remove SeqNum, DHQual, res
+            del vars[-2]  # remove junk
 
             for x in range(len(vars)):
                 widget = verbose_widgets[x]
@@ -1228,7 +1253,7 @@ class MainWindow(QtWidgets.QWidget):
             # act, io, DQual, numblk, timcorr, bdata, bblock
             vars.append(self.fixed_hdr_dict[key][3])
             vars = list(itertools.chain.from_iterable(vars))
-            del vars[-12] # remove junk
+            del vars[-12]  # remove junk
 
             for x in range(len(vars)):
                 widget = vv_widgets[x]
@@ -1248,8 +1273,8 @@ class MainWindow(QtWidgets.QWidget):
         Fills unique info on HdrDisplay
         """
         # text colors
-        Blue = QtGui.QColor(0,0,153)
-        Black = QtGui.QColor(0,0,0)
+        Blue = QtGui.QColor(0, 0, 153)
+        Black = QtGui.QColor(0, 0, 0)
 
         # fill drop down menus
         self.unique_box.keys_menu.clear()
@@ -1372,6 +1397,7 @@ class MainWindow(QtWidgets.QWidget):
         self.hide_show("hide")
         QtWidgets.QApplication.beep()
 
+
 class SliderBox(QtWidgets.QGroupBox):
     """
     Box that holds all the blockette slider widgets
@@ -1405,6 +1431,7 @@ class SliderBox(QtWidgets.QGroupBox):
         main_layout.addLayout(menu_layout)
         main_layout.addLayout(slider_layout)
 
+
 class StandardBox(QtWidgets.QGroupBox):
     """
     Box that holds all the standard info widgets
@@ -1436,6 +1463,7 @@ class StandardBox(QtWidgets.QGroupBox):
 
         v_layout.addStretch()
 
+
 class VerboseBox(QtWidgets.QGroupBox):
     """
     Box that holds all the verbose info widgets
@@ -1483,6 +1511,7 @@ class VerboseBox(QtWidgets.QGroupBox):
         v_layout.addLayout(h_layout)
         v_layout.addStretch()
 
+
 class VVBox(QtWidgets.QGroupBox):
     """
     Box that holds all the very verbose info widgets
@@ -1560,6 +1589,7 @@ class VVBox(QtWidgets.QGroupBox):
         v_layout.addLayout(h_layout)
         v_layout.addStretch()
 
+
 class UniqueBox(QtWidgets.QGroupBox):
     """
     Box that holds all the unique info widgets
@@ -1585,5 +1615,6 @@ class UniqueBox(QtWidgets.QGroupBox):
         layout.addWidget(self.unique_infobox)
         layout.addStretch()
 
+
 if __name__ == "__main__":
     main()