gui/gui.py
def generate_patch(self):
        """Prompts the user to browse for an output and starts process."""

        validation = [
            self.ui.oldWYGFile.text(),
            self.ui.newWYGFile.text(),
            self.ui.btCalFile.text()
        ]

        # Don't continue if not all files are selected
        if "No File Loaded" in validation:
            self.pop_up("Files Aren't Selected", "Not all input files were selected. Please browse for all three input files above and try again.")
            return

        # Browse for output
        output_file = QFileDialog.getSaveFileName(
            self, 
            "Save File", 
            self.default_folder,
            "BlackTrax Calibration File (*.btcal)"
        )

        engine.generate_patch(
            self.ui.oldWYGFile.text(),
            self.ui.newWYGFile.text(),
            self.ui.btCalFile.text(),
            output_file[0]
        )

        # Great success!
        self.pop_up("Output Successful", """The file was updated successfully. 
        
You may now import this into BlackTrax by going to File - Import - Fixture Calibration.""")
Prompts the user to browse for an output and starts process.
Prompts the user to browse for an output and starts process.
Prompts the user to browse for an output and starts process .
def generate_patch(self):
        validation = [
            self.ui.oldWYGFile.text(),
            self.ui.newWYGFile.text(),
            self.ui.btCalFile.text()
        ]
        if "No File Loaded" in validation:
            self.pop_up("Files Aren't Selected", "Not all input files were selected. Please browse for all three input files above and try again.")
            return
        output_file = QFileDialog.getSaveFileName(
            self, 
            "Save File", 
            self.default_folder,
            "BlackTrax Calibration File (*.btcal)"
        )
        engine.generate_patch(
            self.ui.oldWYGFile.text(),
            self.ui.newWYGFile.text(),
            self.ui.btCalFile.text(),
            output_file[0]
        )
        self.pop_up("Output Successful", """The file was updated successfully. 
You may now import this into BlackTrax by going to File - Import - Fixture Calibration.""")
def generate_patch ( self ) : validation = [ self . ui . oldWYGFile . text ( ) , self . ui . newWYGFile . text ( ) , self . ui . btCalFile . text ( ) ] if "No File Loaded" in validation : self . pop_up ( "Files Aren't Selected" , "Not all input files were selected. Please browse for all three input files above and try again." ) return output_file = QFileDialog . getSaveFileName ( self , "Save File" , self . default_folder , "BlackTrax Calibration File (*.btcal)" ) engine . generate_patch ( self . ui . oldWYGFile . text ( ) , self . ui . newWYGFile . text ( ) , self . ui . btCalFile . text ( ) , output_file [ 0 ] ) self . pop_up ( "Output Successful" , """The file was updated successfully. 
        
You may now import this into BlackTrax by going to File - Import - Fixture Calibration.""" )
Prompts the user to browse for an output and starts process.
Prompts the user to browse for an output and starts process .
"""Prompts the user to browse for an output and starts process.""" # Don't continue if not all files are selected # Browse for output # Great success!
self