Commit d25b76f5 authored by Niklas Bohn's avatar Niklas Bohn
Browse files

Merge branch 'bugfix/Issue#81' into 'master'

Bugfix/issue#81

See merge request !78
parents f0efa57d a1904e5e
......@@ -71,7 +71,7 @@ test_sicor_s2:
- export GDAL_DATA=/root/miniconda3/envs/sicor_env/share/gdal
- export PYTHONPATH=$PYTHONPATH:/root # /root <- directory needed later
- pip install pycodestyle --upgrade
- mamba install -c conda-forge pygrib cachetools gdown scikit-learn<=0.21.3
- mamba install -c conda-forge pygrib cachetools gdown scikit-learn=0.21.3
- make lint
- make nosetests_s2 # sentinel-2 tests are called here
- pip install sphinx_rtd_theme # Read-the-docs theme for SPHINX documentation
......
......@@ -143,7 +143,7 @@ def empirical_line_solution(X, rdn_subset, data_l2a_seg, rows, cols, bands, segs
global _globs
_globs = dict(tree=tree, locs=locations_subset, k=15, rdn=rdn_subset, data=data_l2a_seg, bands=bands)
if platform.system() == "Windows" or processes == 1:
if processes == 1:
initializer(globals(), _globs)
results = []
for ii in tqdm(unique_labels, disable=disable_progressbars):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment