diff --git a/python/tffpy/experiments/exp_variance.py b/python/tffpy/experiments/exp_variance.py
index d7e5f55c9e5917813b55f2bbc07e6041957b25e3..c96d11a5ad35e174ef4f33a4f28cc5398b077865 100644
--- a/python/tffpy/experiments/exp_variance.py
+++ b/python/tffpy/experiments/exp_variance.py
@@ -5,13 +5,15 @@
 """
 import numpy as np
 
-from yafe import Experiment
-
-from tffpy.datasets import get_mix, get_dataset
 from tffpy.experiments.exp_solve_tff import SolveTffExperiment
 
 
 class VarianceExperiment(SolveTffExperiment):
+    """
+    A variant of the main experiment (`SolveTffExperiment`) in order to
+    analyze the variability of results with respect to the randomness of
+    rand-EVD, by generating 100 draws for the same pair of signals (bird+car).
+    """
     def __init__(self, force_reset=False, suffix=''):
         SolveTffExperiment.__init__(self,
                                     force_reset=force_reset,
@@ -45,7 +47,6 @@ class VarianceExperiment(SolveTffExperiment):
     def get_experiment(setting='full', force_reset=False):
         assert setting in ('full', 'light')
 
-        dataset = get_dataset()
         # Set task parameters
         data_params = dict(loc_source='bird',
                            wideband_src='car')
diff --git a/python/tffpy/experiments/yafe_slurm.py b/python/tffpy/experiments/yafe_slurm.py
index 593ec83b67f3d737e8998992d28a57139ed570bd..1c7f4973e97c02bab5cb477cf48932f17d82b7cf 100644
--- a/python/tffpy/experiments/yafe_slurm.py
+++ b/python/tffpy/experiments/yafe_slurm.py
@@ -21,8 +21,8 @@ def generate_slurm_script(script_file_path, xp_var_name, task_ids=None,
     The resulting script is written in the experiment folder, and the command
     to launch the jobs with Slurm is displayed in the terminal.
 
-    An example script illustrating how to use
-    :func:`yafe.utils.generate_slurm_script` is available in the corresponding
+    An example of a similar usage in the case of OAR (script
+    :func:`yafe.utils.generate_oar_script`) is illustrated by in
     :ref:`tutorial <tutorial_oar>`.
 
     Parameters
@@ -49,9 +49,8 @@ def generate_slurm_script(script_file_path, xp_var_name, task_ids=None,
         activated.
     use_gpu : bool
         Flag specifying if a gpu ressource is needed when running the
-        experiment.
+        experiment. This has not been implemented yet.
     """
-    # TODO update documentation
     script_file_path = Path(script_file_path)
     script_dir = script_file_path.parent
     script_name = script_file_path.stem
@@ -63,26 +62,11 @@ def generate_slurm_script(script_file_path, xp_var_name, task_ids=None,
     script_dir.mkdir(exist_ok=True)
     for f in script_dir.glob('*.sh'):
         os.remove(f)
-    # script_dir.rm
 
     if task_ids is None:
         task_ids = xp.get_pending_task_ids()
 
-    # split and save the tasks
-    # task_ids = list(map(str, task_ids))
-    # batches = [
-    #     task_ids[i:(i + batch_size)]
-    #     for i in range(0, len(task_ids), batch_size)
-    # ]
-    # file_path = xp.xp_path / 'listoftasks.txt'
-    #
-    # with open(str(file_path), 'wt') as fout:
-    #     fout.write('\n'.join(map(lambda batch: ','.join(batch), batches)))
-
     # generate and save script
-    # script_path = Path(os.path.abspath(script_file_path))
-    # script_dir = script_path.parent
-    # script_name = script_path.stem
 
     # Generate job script
     log_dir = xp.xp_path / 'logs'
@@ -101,9 +85,6 @@ def generate_slurm_script(script_file_path, xp_var_name, task_ids=None,
     #     script += '#SBATCH -p gpu IS NULL\n'
 
     script += 'srun -N1 -n1 {}/run_$SLURM_ARRAY_TASK_ID.sh'.format(script_dir)
-    # script += 'echo "OAR_JOB_ID: $OAR_JOB_ID"\n'
-    # script += 'echo "OAR_ARRAY_ID: $OAR_ARRAY_ID"\n'
-    # script += 'echo "SLURM_ARRAY_TASK_ID: $SLURM_ARRAY_TASK_ID"\n'
 
     script_path = script_dir / 'script_slurm.sh'
     with script_path.open('w') as file:
diff --git a/python/tffpy/scripts/script_exp_variance.py b/python/tffpy/scripts/script_exp_variance.py
index 4b650dcaf1ec6741a8b3394f431d2ec3d6841f83..f139a1da98817f898466b4a2a389af934cf44755 100644
--- a/python/tffpy/scripts/script_exp_variance.py
+++ b/python/tffpy/scripts/script_exp_variance.py
@@ -48,7 +48,7 @@
 #
 # ######### COPYRIGHT #########
 """
-Run this script to handle the main experiment :class:`SolveTffExperiment`.
+Run this script to handle the main experiment :class:`VarianceTffExperiment`.
 
 .. moduleauthor:: Valentin Emiya
 """