Mercurial > repos > pieterlukasse > prims_metabolomics
comparison test/test_library_lookup.py @ 30:60b53f2aa48a
Small fixes, added microminutes support to MsClust, removed TIC or MsClust output
author | pieter.lukasse@wur.nl |
---|---|
date | Sat, 30 Aug 2014 16:14:18 +0200 |
parents | 53e1eee93430 |
children | eb0e25d06060 |
comparison
equal
deleted
inserted
replaced
29:0d534bce8e84 | 30:60b53f2aa48a |
---|---|
147 ''' | 147 ''' |
148 Tests the match_library.py functionality | 148 Tests the match_library.py functionality |
149 ''' | 149 ''' |
150 riqc_libs_dir = resource_filename(__name__, "../repositories/PRIMS-metabolomics/RI_DB_libraries") | 150 riqc_libs_dir = resource_filename(__name__, "../repositories/PRIMS-metabolomics/RI_DB_libraries") |
151 get_library_files_output = match_library.get_directory_files(riqc_libs_dir) | 151 get_library_files_output = match_library.get_directory_files(riqc_libs_dir) |
152 self.assertEqual(1, len(get_library_files_output)) | 152 self.assertEqual(2, len(get_library_files_output)) |
153 self.assertEqual("Library_RI_DB_capillary_columns-noDuplicates", get_library_files_output[0][0]) | 153 self.assertEqual("Library_RI_DB_capillary_columns-noDuplicates", get_library_files_output[0][0]) |
154 #TODO change assert below to assert that the result is a file, so the test can run on other dirs as well: | 154 #TODO change assert below to assert that the result is a file, so the test can run on other dirs as well: |
155 #self.assertEqual("E:\\workspace\\PRIMS-metabolomics\\python-tools\\tools\\GCMS\\test\\data\\riqc_libs\\RI DB library (capillary columns) Dec.2012.txt", get_library_files_output[0][1]) | 155 #self.assertEqual("E:\\workspace\\PRIMS-metabolomics\\python-tools\\tools\\GCMS\\test\\data\\riqc_libs\\RI DB library (capillary columns) Dec.2012.txt", get_library_files_output[0][1]) |
156 #self.assertEqual("RI DB library (capillary columns) Jan.2013", get_library_files_output[1][0]) | 156 #self.assertEqual("RI DB library (capillary columns) Jan.2013", get_library_files_output[1][0]) |
157 try: | 157 try: |