Fixed 'Exception: Weights sum to zero, can't be normalized'.

Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>
4 jobs for enhancement/revise_global_weights in 48 minutes and 18 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Test
failed test_spechomo #85187

00:01:09

78.0%
passed test_spechomo_install #85190

00:45:40

passed test_styles #85188

00:00:22

passed test_urls #85189

00:01:06

 
Name Stage Failure
failed
test_spechomo Test
spechomo/version.py                   2      0   100%
-----------------------------------------------------
TOTAL 1630 352 78%
-----------------------------------------------------------------------------
41 tests run in 51.908 seconds.
5 errors (36 tests passed)
make: *** [Makefile:86: nosetests] Error 1
Cleaning up file based variables
ERROR: Job failed: exit code 1