Codebase list votca-xtp / debian/2021.1-2 tutorials / clean_notebooks.sh
debian/2021.1-2

Tree @debian/2021.1-2 (Download .tar.gz)

clean_notebooks.sh @debian/2021.1-2

d0bbc74
 
 
 
 
 
 
 
 
 
 
 
#! /bin/bash
# Remove all the output from the jupyter notebooks

files=("GROMACS/Methane/QMMM_GROMACS.ipynb" "LAMMPS/KMC_Thiophene/LAMMPS_KMC.ipynb" "LAMMPS/Thiophene/QMMM_LAMMPS.ipynb" "tools/dftgwbse_CH4/DFTGWBSE_ENERGY.ipynb" "tools/dftgwbse_CO_geoopt/DFTGWBSE_OPTIMIZATION.ipynb")

for x in ${files}
do
    jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace "${x}"
done

# Clean up temporal files
git clean -f