cleanup options

This commit is contained in:
Vladimir Mandic
2023-09-08 07:59:58 -04:00
parent 2a213e8e84
commit 0194620ec2
6 changed files with 8 additions and 11 deletions
+1
View File
@@ -140,6 +140,7 @@ def checkpoint_tiles(use_short=False): # pylint: disable=unused-argument
return int(name) if name.isdigit() else name.lower()
def alphanumeric_key(key):
return [convert(c) for c in re.split('([0-9]+)', key)]
print('HERE', len(checkpoints_list.values()))
return sorted([x.title for x in checkpoints_list.values()], key=alphanumeric_key)