code: def objectprep(self):
          
          # Create .fastq files if necessary. Otherwise create the metadata object
          if self.bcltofastq:
              if self.customsamplesheet:
                  assert os.path.isfile(self.customsamplesheet), 'Cannot find custom sample sheet as specified {}' \
                      .format(self.customsamplesheet)
              # Create the FASTQ files
              self.samples = fastqCreator.CreateFastq(self)
              # Create a dictionary of the object
              samples_dict = vars(self.samples)
              # Extract the required information from the dictionary
              self.index = samples_dict['index']
              self.index_length = samples_dict['indexlength']
              self.forward = samples_dict['forwardlength']
              self.reverse = samples_dict['reverselength']
              self.forwardlength = samples_dict['forward']
              self.reverselength = samples_dict['reverse']
              self.header = samples_dict['header']
          else:
              self.samples = createObject.ObjectCreation(self)
docs: Creates fastq files from an in-progress Illumina MiSeq run or create an object and moves files appropriately