name correction

This commit is contained in:
Vitesh Shah 2023-11-27 11:10:37 +01:00
parent 30b546f2dd
commit b1c2e51528
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ class TestResult:
error_messages.append('Crystal structure does not match') error_messages.append('Crystal structure does not match')
# check PhaseName array # check PhaseName array
results_phase_name = np.array(results_file[ensemble_label + '/PhaseNames']) results_phase_name = np.array(results_file[ensemble_label + '/PhaseName'])
ref_phase_name = ['Unknown Phase Type'] ref_phase_name = ['Unknown Phase Type']
ref_phase_name.extend(i for i in result.visible['phases']) ref_phase_name.extend(i for i in result.visible['phases'])
if not results_phase_name == np.array(ref_phase_name,dtype=bytes): if not results_phase_name == np.array(ref_phase_name,dtype=bytes):