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

edits for summary page

parent ac99e0a0
Branches
No related tags found
No related merge requests found
Pipeline #14735 failed
......@@ -6,7 +6,7 @@ Welcome to Open Science @KM3NeT!
.. toctree::
:maxdepth: 2
Fair data <pages/FAIR>
pages/FAIR
pages/ScienceTargets
pages/Infrastructure
pages/Detector
......
......@@ -6,7 +6,7 @@ def adapt_file(filename):
inline = f.readline()
while inline:
if inline.find("pages/")>-1 and inline.find(".md")>-1:
inline.replace(".md", ".rst")
inline.replace(".md", ".html")
newversion += inline
inline = f.readline()
with open(filename, "w") as f:
......@@ -22,12 +22,14 @@ def fulltext_from_filelist(filelistname, onlystatus = "", adapt_files = True):
with open(infilename, "r") as ftext:
addtext = ftext.read()
infotext = addtext[addtext.find("---")+3:addtext.find("---", 5)].split("\n")
status, author = "", ""
status, author, reviewer = "", ""
for line in infotext:
if line.find("status:")> -1:
status = line[8:len(line)]
if line.find("Author")> -1:
author = line[8:len(line)]
f line.find("Reviewer")> -1:
reviewer = line[8:len(line)]
takeit = True
if onlystatus:
takeit = False
......@@ -38,8 +40,10 @@ def fulltext_from_filelist(filelistname, onlystatus = "", adapt_files = True):
fulltext += addtext[addtext.find("---", 5)+3:len(addtext)] + "\n"
overview["filename"].append(infilename)
overview["author"].append(author)
overview["reviewer"].append(reviewer)
overview["status"].append(status)
if adapt_files:
print ("Redoing file", infilename)
adapt_file(infilename)
infilename = f.readline().rstrip("\n")
......@@ -57,12 +61,13 @@ with open("Deliverable_4-9.md", "w") as f:
with open("statuspage.md", "w") as f:
status = "## Current page status\n\n"
status += "| Filename | Author | Status |\n"
status += "| -------- | ------ | ------ |\n"
status += "| Filename | Author | Reviewer | Status |\n"
status += "| -------- | ------ | -------- | ------ |\n"
for stats in (status1, status2):
for i in range(len(stats["filename"])):
status += "| " + stats["filename"][i] \
+ " | " + stats["author"][i] \
+ " | " + stats["reviewer"][i] \
+ " | " + stats["status"][i] + " |\n"
f.write(status)
......
---
Title: Detector and Data Taking
Author: Jannik
status: reviewed (Tamas)
status: reviewed
Reviewer: Tamas
Comment: Mainly based on LoI
---
......
......@@ -10,7 +10,7 @@ status: review
The KM3NeT Open Science System seamlessly integrates with the computing environment of the KM3NeT collaboration, providing data, software and documentation to all relevant parts of the scientific analysis workflow.
![Infrastructure overview](/figures/infrastructure_overview.png)
![Infrastructure overview](figures/infrastructure_overview.png)
## Open Science Products
......
---
Title: Scientific targets
Author: Jannik
status: reviewed (Tamas)
status: reviewed
Reviewer: Tamas
Comment: Mainly based on LoI and Infradev Grant Agreement
---
......
......@@ -5,7 +5,7 @@ Topics:
- short description analysis
- data description
- linking to notebooks & background
status: unedited
status: draft
---
# KM3NeT Use Case
......
......@@ -6,7 +6,8 @@ Topics:
- guidelines
- git analysis template description
- guidelines
status: reviewed (Jannik)
Reviewer: Jannik
status: reviewed
---
# Using templates
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment