Skip to content

Commit 5bf4fde

Browse files
author
Hancheng Zhao
committed
fix qha_properties.py thermal property files sorting problem
1 parent e10168f commit 5bf4fde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

asimtools/asimmodules/phonopy/qha_properties.py

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def qha_properties(
2525
volumes = ev_df['volumes'].to_numpy()
2626
energies = ev_df['energies'].to_numpy()
2727
thermal_properties_files = glob(thermal_properties_file_pattern)
28+
thermal_properties_files = sorted(thermal_properties_files)
2829
assert len(thermal_properties_files) > 0, \
2930
f'No files matching {thermal_properties_file_pattern} in {os.getcwd()}'
3031

0 commit comments

Comments
 (0)