Skip to content
Snippets Groups Projects
Commit 813382f7 authored by Jutta Schnabel's avatar Jutta Schnabel
Browse files

trying to fix build

parent 0ed8a582
No related branches found
No related tags found
No related merge requests found
Pipeline #14421 failed
......@@ -16,13 +16,12 @@ pages/VOserver.md
pages/KM3NeTserver.md
pages/Git.md
pages/Docker.md
pages/Repositories_Voserver.md
pages/Repositories_VOserver.md
pages/Repositories_Zenodo.md
pages/Courses.md
pages/OSP.md
pages/Python.md
pages/ESCAPE.md
pages/UseCase_ANTARES.md
pages/UseCase_KM3NeT.md
pages/UseCase_environmental.md
pages/Usecase_ANTARES.md
pages/Usecase_KM3NeT.md
pages/Usecase_Environmental.md
......@@ -2,7 +2,7 @@ pages/Using_vo.md
pages/Using_alerts.md
pages/Using_km3events.md
pages/Using_plotdata.md
pages/dataserver_api.md
pages/Dataserver_api.md
pages/Softwaredevelopment.md
pages/Using_templates.md
pages/Using_templates.md
#!/usr/bin/python
import yaml
def fulltext_from_filelist(filelistname):
def fulltext_from_filelist(filelistname, onlystatus = ""):
fulltext = ""
with open(filelistname, "r") as f:
infilename = f.readline()
infilename = f.readline().rstrip("\n")
while infilename:
with open(infilename, "r") as ftext:
addtext = ftext.read()
fulltext += addtext[addtext.find("---"):addtext.rfind("---")] + "\n"
infilename = f.readline()
info = yaml.load(addtext[addtext.find("---")+3:addtext.find("---", 5)])
takeit = True
if onlystatus:
takeit = False
if "status" in info:
if info["status"] == onlystatus:
takeit = True
if takeit:
fulltext += addtext[addtext.find("---", 5)+3:len(addtext)] + "\n"
infilename = f.readline().rstrip("\n")
return fulltext
deliverable_description = fulltext_from_filelist("filelist_D4-8.txt")
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment