def head(self, url, **kwargs):

        kwargs.setdefault('allow_redirects', False)
        return self.request('HEAD', url, **kwargs)
Make sure that the output directory for the lsq6 average is 
dataset/ETHPy150Open BergWerkGIS/QGIS-CKAN-Browser/CKAN-Browser/request/sessions.py/Session.head--crossover with--dataset/ETHPy150Open Mouse-Imaging-Centre/pydpiper/atoms_and_modules/LSQ6.py/LSQ6Base.check_lsq6_folder