From 716230a00b748c6e230bcfe2477c333a981bc77f Mon Sep 17 00:00:00 2001 From: Benjamin Bertrand Date: Thu, 23 Mar 2017 19:23:11 +0300 Subject: [PATCH] Rename term_tools to term --- notes_tools/reports/term_reports.py | 6 +++--- notes_tools/tools/{term_tools.py => term.py} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename notes_tools/tools/{term_tools.py => term.py} (100%) diff --git a/notes_tools/reports/term_reports.py b/notes_tools/reports/term_reports.py index 231e987..56a0904 100755 --- a/notes_tools/reports/term_reports.py +++ b/notes_tools/reports/term_reports.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # encoding: utf-8 -from notes_tools.tools import extract_flat_marks, get_class_ws, digest_flat_df, term_tools +from notes_tools.tools import extract_flat_marks, get_class_ws, digest_flat_df, term from .texenv import feed_template import pandas as pd import numpy as np @@ -58,8 +58,8 @@ def term_report(classe, term, path = Path('./'), report_info = term_info(classe, eval_df) - students_pov = term_tools.students_pov(quest_df, exo_df, eval_df) - class_pov = term_tools.class_pov(quest_df, exo_df, eval_df) + students_pov = term.students_pov(quest_df, exo_df, eval_df) + class_pov = term.class_pov(quest_df, exo_df, eval_df) datas = {"report_info": report_info, "classe": class_pov, diff --git a/notes_tools/tools/term_tools.py b/notes_tools/tools/term.py similarity index 100% rename from notes_tools/tools/term_tools.py rename to notes_tools/tools/term.py