Mercurial > repos > muon-spectroscopy-computational-project > larch_artemis
diff larch_artemis.py @ 4:39ab361e6d59 draft
planemo upload for repository https://github.com/MaterialsGalaxy/larch-tools/tree/main/larch_artemis commit 71cee2ed96b69a2e78a1eb3dadbd2e81bf332798
author | muon-spectroscopy-computational-project |
---|---|
date | Mon, 17 Jun 2024 13:54:30 +0000 (9 months ago) |
parents | 84c8e04bc1a1 |
children | 7acb53ffb96f |
line wrap: on
line diff
--- a/larch_artemis.py Thu Apr 11 09:01:48 2024 +0000 +++ b/larch_artemis.py Mon Jun 17 13:54:30 2024 +0000 @@ -5,7 +5,7 @@ import os import sys -from common import read_group +from common import read_group, sorting_key from larch.fitting import guess, param, param_group from larch.symboltable import Group @@ -351,7 +351,7 @@ filepaths = [ os.path.join(prj_file, p) for p in os.listdir(prj_file) ] - filepaths.sort() + filepaths.sort(key=sorting_key) else: # DO NOT sort if we have multiple Galaxy datasets - the filenames # are arbitrary but should be in order