Feat: clean recopytex.py

This commit is contained in:
Bertrand Benjamin 2019-09-24 15:36:24 +02:00
parent fe3280b91d
commit 7a0bb4179d

View File

@ -76,22 +76,3 @@ def report(csv_file=""):
except pm.exceptions.PapermillExecutionError as e: except pm.exceptions.PapermillExecutionError as e:
click.echo(f"Error with {csv}: {e}") click.echo(f"Error with {csv}: {e}")
# with open(csv_file.parent / "description.yml") as f:
# tribe_desc = yaml.load(f, Loader=yaml.FullLoader)
# template = Path(config["templates"]) / "tpl_student.ipynb"
# dest = Path(config["output"]) / tribe / csv_filename / "students"
# dest.mkdir(parents=True, exist_ok=True)
# for st in tribe_desc["students"]:
# click.echo(f"Building {st} report on {assessment}")
# pm.execute_notebook(
# str(template),
# str(dest / f"{st}.ipynb"),
# parameters=dict(tribe=tribe, student=st, source=str(tribe_dir.absolute())),
# )