Commit 63024e56 authored by Tobias WEBER's avatar Tobias WEBER
Browse files

sample enviro

parent 82761097
......@@ -50,6 +50,8 @@ tools/structfact/build/**
tools/magstructfact/build/**
tools/pol/build/**
*.pyc
.DS_Store
*.csv
# Temporary lexer/parser files
cliparser_impl.*
......@@ -60,4 +62,3 @@ stack.hh
*.log
*.aux
*.pdf
......@@ -224,7 +224,7 @@ with open("proposals.csv", "w") as file:
print("Writing results to %s ..." % file.name)
file.write("#\n")
file.write("# Coucil; Proposal No; Title; Main proposer; All proposers; Allocated days; Schedule; Instrument; Local contact\n")
file.write("# Coucil; Proposal No; Title; Main proposer; All proposers; Allocated days; Schedule; Instrument; Local contact; Environment\n")
file.write("#\n")
for info in infos:
......@@ -234,7 +234,7 @@ with open("proposals.csv", "w") as file:
if filter_instr and instr.lower() != "in20":
continue
row = "{council}; {id}; {title}; {mainproposer}; {allproposers_simple}; {alloc}; {sched}; {instr}; {localcontact}".format(**info, instr=instr, req=req, alloc=alloc, grade=grade, sched=sched)
row = "{council}; {id}; {title}; {mainproposer}; {allproposers_simple}; {alloc}; {sched}; {instr}; {localcontact}; {env}".format(**info, instr=instr, req=req, alloc=alloc, grade=grade, sched=sched)
file.write(row)
file.write("\n")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment