Sequence_File.py
def add_sample_sheet(self, nas_sheet_dir):
        """
        Add the path of the SampleSheet in the nas for the SEQ-ID pair
        :param nas_sheet_dir: the directory of the SampleSheet in the nas
        """
        # Create the paths for both a .csv and .bak SampleSheet
        csv_sheet_path = os.path.join(nas_sheet_dir, SequencePair.csv_sheet)
        bak_sheet_path = os.path.join(nas_sheet_dir, SequencePair.bak_sheet)

        # Check if the SampleSheet is a .csv file as is the default
        if os.path.exists(csv_sheet_path):
            self.nas_sample_sheet_path = csv_sheet_path

        # Check if the SampleSheet is a .bak file, this is uncommon but does occur
        # Set the csv_file flag to false so that it can be dealt with appropriately
        elif os.path.exists(bak_sheet_path):
            self.nas_sample_sheet_path = bak_sheet_path
            self.csv_file = False

        Add the path of the SampleSheet in the nas for the SEQ-ID pair
        :param nas_sheet_dir: the directory of the SampleSheet in the nas
        
Add the path of the SampleSheet in the nas for the SEQ-ID pair
Add the path of the SampleSheet in the nas for the SEQ - ID pair
def add_sample_sheet(self, nas_sheet_dir):
        csv_sheet_path = os.path.join(nas_sheet_dir, SequencePair.csv_sheet)
        bak_sheet_path = os.path.join(nas_sheet_dir, SequencePair.bak_sheet)
        if os.path.exists(csv_sheet_path):
            self.nas_sample_sheet_path = csv_sheet_path
        elif os.path.exists(bak_sheet_path):
            self.nas_sample_sheet_path = bak_sheet_path
            self.csv_file = False
def add_sample_sheet ( self , nas_sheet_dir ) : csv_sheet_path = os . path . join ( nas_sheet_dir , SequencePair . csv_sheet ) bak_sheet_path = os . path . join ( nas_sheet_dir , SequencePair . bak_sheet ) if os . path . exists ( csv_sheet_path ) : self . nas_sample_sheet_path = csv_sheet_path elif os . path . exists ( bak_sheet_path ) : self . nas_sample_sheet_path = bak_sheet_path self . csv_file = False
Add the path of the SampleSheet in the nas for the SEQ-ID pair
Add the path of the SampleSheet in the nas for the SEQ - ID pair
"""
        Add the path of the SampleSheet in the nas for the SEQ-ID pair
        :param nas_sheet_dir: the directory of the SampleSheet in the nas
        """ # Create the paths for both a .csv and .bak SampleSheet # Check if the SampleSheet is a .csv file as is the default # Check if the SampleSheet is a .bak file, this is uncommon but does occur # Set the csv_file flag to false so that it can be dealt with appropriately
self
nas_sheet_dir
the directory of the SampleSheet in the nas
the directory of the SampleSheet in the nas