Changeset 1059
- Timestamp:
- 01/22/21 18:01:04 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/FramsticksCLI.py
r1024 r1059 212 212 if len(data) > 0: 213 213 self.__cleanUpCommandResults(files) 214 assert len(genotype_list) == len(data), f"After evaluating {len(genotype_list)} genotype(s) got {len(data)} result(s)." 214 215 return data 215 216 else: … … 256 257 EXPECTED_SHAPE = (len(genotype_list), len(genotype_list)) 257 258 # print(square_matrix) 258 assert square_matrix.shape == EXPECTED_SHAPE, f"Not a correct dissimilarity matrix, expected {EXPECTED_SHAPE} 259 assert square_matrix.shape == EXPECTED_SHAPE, f"Not a correct dissimilarity matrix, expected {EXPECTED_SHAPE}" 259 260 for i in range(len(square_matrix)): 260 261 assert square_matrix[i][i] == 0, "Not a correct dissimilarity matrix, diagonal expected to be 0"
Note: See TracChangeset
for help on using the changeset viewer.