readValues
(file_path)
| 20 | return theta |
| 21 | |
| 22 | def read_values(file_path): |
| 23 | "readValues" |
| 24 | with open(file_path, "r") as filehandle: |
| 25 | matrix = [x.strip().split('\t') for x in filehandle] |
| 26 | # Remove first line, which might contain only column definitions |
| 27 | matrix = matrix[1:-1] |
| 28 | return matrix |
| 29 | |
| 30 | def main(): |
| 31 | "Main" |