Commit 30b12405 authored by Simon Pintarelli's avatar Simon Pintarelli

explicitly use python3

parent ed74cd04
......@@ -10,9 +10,9 @@ fi
ln -sf $1 ___grades-template.txt
# convert
./scripts/init-spreadsheet-from-edoz.py $1
echo ""
echo "File `marks.xls` generated from edoz output. \
You can now fill points the points into the spreadsheet."
echo -e "Generate file marks.xls from edoz output. "
echo ""
python3 ./scripts/init-spreadsheet-from-edoz.py $1 &&
echo "Next: enter the points in marks.xls."
......@@ -7,12 +7,12 @@ if [[ ! $? -eq 0 ]]; then
fi
# marks.xls -> marks.csv
python scripts/xls2csv.py marks.xls marks.csv
python3 scripts/xls2csv.py marks.xls marks.csv
# generate tex-file
R < knit.R --save 2> R.log || exit 1
R --vanilla < knit.R --save 2> R.log || exit 1
python scripts/pandas-script.py && echo "Generated edoz-final.txt for upload."
python3 scripts/pandas-script.py && echo "Generated edoz-final.txt for upload."
echo "Running pdflatex..."
pdflatex statistics.tex > tex.log && pdflatex statistics.tex > /dev/null && echo "Successfully created statistics.pdf "
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