diff --git a/module_matrix.py b/module_matrix.py deleted file mode 100755 index 619772a766e90a82b1fc2314aadd89059a7f54f5..0000000000000000000000000000000000000000 --- a/module_matrix.py +++ /dev/null @@ -1,16 +0,0 @@ -import csv - -def get_data(filename): - '''function to read the data form the input csv file to use in the analysis''' - reader = [] # Just in case the file open fails - with open(filename, 'rb') as f: - reader = csv.reader(f,delimiter=',') - #returns all the data from the csv file in list form - #f.close() # May need to close the file when done - return list(reader) # only return the reader when you have finished. - -your_list = [] -your_list += get_data('modules-anselm.csv') -your_list += get_data('modules-salomon.csv') -#your_list += get_data('modules-salomon-uv.csv') -print your_list