Skip to content

Commit f71135a

Browse files
committed
work on self-test
1 parent 3d6cef3 commit f71135a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/reftest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
name: why does self-test fail?
1+
name: explore self-test fail
22

33
on:
4+
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
45
# Runs on pushes targeting the default branch
56
#push:
67
# branches-ignore:
@@ -9,8 +10,7 @@ on:
910
#pull_request:
1011
# branches: ['develop']
1112

12-
# Allows you to run this workflow manually from the Actions tab
13-
workflow_dispatch:
13+
1414

1515

1616
# Default to bash

GSASII/GSASIIpath.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,11 @@ def XferConfigIni():
12151215
return
12161216

12171217
# Access values from the configuration file
1218-
cfgG = cfg['GUI settings']
1218+
try:
1219+
cfgG = cfg['GUI settings']
1220+
except KeyError:
1221+
cfgG = {}
1222+
12191223
for key in cfgG:
12201224
key = key.lower() # not needed... but in case configparser ever changes
12211225
capKey = capsDict.get(key)

0 commit comments

Comments
 (0)