Skip to content

Commit

Permalink
Update validate-recipes.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bberkeyU authored Mar 7, 2024
1 parent a355fa2 commit 6991e3f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/validate-recipes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:
if len(child.strip()) > 0 and child.strip()[0] != "#" and not child.startswith("date") and not child.startswith("author") and not child.startswith("description"):
if childextension in child.split('#')[0]:
try:
runTime2 = 0
read_script(filename,parent+","+child.split('#')[0],tab,state,darks,flats,summary,md,warning,runTime2)
md.write(f"read_script out {runTime} {runTime2}")
runTime2 = read_script(filename,parent+","+child.split('#')[0],tab,state,darks,flats,summary,md,warning,runTime2)
runTime = runTime+runTime2
md.write(f"read_script out {runTime} {runTime2}")
except FileNotFoundError:
warning.write(f"{parent} tried to call *{filename}* which does not exist\n")
else:
Expand Down Expand Up @@ -101,6 +101,7 @@ jobs:
script.close()
md.write(f"The above script included:{runTime/1000} seconds of data collection")
md.write("</pre></blockquote></details>")
return runTime
menus = glob.glob("*.menu")
state = {}
darks = []
Expand Down

0 comments on commit 6991e3f

Please sign in to comment.