Sequence_File.py
def add_nas_seqid_path(self, seqid_path):
        """
        This will add the path of the current SEQ-ID in the nas to the seqid_path list.
        This method ensures that no more than 2 sequence paths are ever added to the list and moved to the drive.
        If more than 2 files are found, throw an error since this should never happen and there is a major problem.
        :param seqid_path: Path in the nas where the matching SEQ-ID name was found 
        """

        if len(self.seqid_paths) is 1:
            self.both_exist = True  # both found, no need to continue searching
            self.seqid_paths.append(seqid_path)

        elif len(self.seqid_paths) is 0:
            self.seqid_paths.append(seqid_path)
        else:
             raise ImportWarning("More than 2 files found that have the SEQ-ID: %s", self.seqid_info.seq_id)

        This will add the path of the current SEQ-ID in the nas to the seqid_path list.
        This method ensures that no more than 2 sequence paths are ever added to the list and moved to the drive.
        If more than 2 files are found, throw an error since this should never happen and there is a major problem.
        :param seqid_path: Path in the nas where the matching SEQ-ID name was found 
        
This will add the path of the current SEQ-ID in the nas to the seqid_path list.
This method ensures that no more than 2 sequence paths are ever added to the list and moved to the drive.
If more than 2 files are found, throw an error since this should never happen and there is a major problem.
This will add the path of the current SEQ - ID in the nas to the seqid_path list . This method ensures that no more than 2 sequence paths are ever added to the list and moved to the drive . If more than 2 files are found throw an error since this should never happen and there is a major problem .
def add_nas_seqid_path(self, seqid_path):
        if len(self.seqid_paths) is 1:
            self.both_exist = True  
            self.seqid_paths.append(seqid_path)
        elif len(self.seqid_paths) is 0:
            self.seqid_paths.append(seqid_path)
        else:
             raise ImportWarning("More than 2 files found that have the SEQ-ID: %s", self.seqid_info.seq_id)
def add_nas_seqid_path ( self , seqid_path ) : if len ( self . seqid_paths ) is 1 : self . both_exist = True self . seqid_paths . append ( seqid_path ) elif len ( self . seqid_paths ) is 0 : self . seqid_paths . append ( seqid_path ) else : raise ImportWarning ( "More than 2 files found that have the SEQ-ID: %s" , self . seqid_info . seq_id )
This will add the path of the current SEQ-ID in the nas to the seqid_path list.
This will add the path of the current SEQ - ID in the nas to the seqid_path list .
"""
        This will add the path of the current SEQ-ID in the nas to the seqid_path list.
        This method ensures that no more than 2 sequence paths are ever added to the list and moved to the drive.
        If more than 2 files are found, throw an error since this should never happen and there is a major problem.
        :param seqid_path: Path in the nas where the matching SEQ-ID name was found 
        """ # both found, no need to continue searching
self
seqid_path
Path in the nas where the matching SEQ-ID name was found
Path in the nas where the matching SEQ - ID name was found