Example #1
0
    def _export_npy(self):
        self.progressSignal(0)
        export_path = self.ExportPath.value
        try:
            opWriter = OpNpyWriter(parent=self)
            opWriter.Filepath.setValue(export_path)
            opWriter.Input.connect(self.Input)

            # Run the export in this thread
            opWriter.write()
        finally:
            opWriter.cleanUp()
            self.progressSignal(100)
Example #2
0
 def _export_npy(self):
     self.progressSignal(0)
     export_path = self.ExportPath.value
     try:
         opWriter = OpNpyWriter( parent=self )
         opWriter.Filepath.setValue( export_path )
         opWriter.Input.connect( self.Input )
         
         # Run the export in this thread
         opWriter.write()
     finally:
         opWriter.cleanUp()
         self.progressSignal(100)