without useless printouts

This commit is contained in:
Remy Moll 2020-10-15 13:29:54 +02:00
parent e92d649451
commit 7e3893716d
2 changed files with 1 additions and 2 deletions

@ -74,7 +74,7 @@ def weather_converter(name):
icons = Image.open(icon_spritesheet) icons = Image.open(icon_spritesheet)
icons_full = np.array(icons) icons_full = np.array(icons)
print(name)
icon_loc = ["sun","moon","sun and clouds", "moon and clouds", "cloud","fog and clouds","2 clouds", "3 clouds", "rain and cloud", "rain and clouds", "rain and cloud and sun", "rain and cloud and moon", "thunder and cloud", "thunder and cloud and moon", "snow and cloud", "snow and cloud and moon", "fog","fog night"] icon_loc = ["sun","moon","sun and clouds", "moon and clouds", "cloud","fog and clouds","2 clouds", "3 clouds", "rain and cloud", "rain and clouds", "rain and cloud and sun", "rain and cloud and moon", "thunder and cloud", "thunder and cloud and moon", "snow and cloud", "snow and cloud and moon", "fog","fog night"]
#ordered 1 2 \n 3 4 \ 5 5 ... #ordered 1 2 \n 3 4 \ 5 5 ...
try: try:

@ -91,7 +91,6 @@ class OutputHandler():
face2_3d = converter.weather_converter(weather) face2_3d = converter.weather_converter(weather)
print("WEATHER",face2_3d.shape)
face = np.zeros((max(face1_3d.shape[0],face2_3d.shape[0]),face1_3d.shape[1]+face2_3d.shape[1],3)) face = np.zeros((max(face1_3d.shape[0],face2_3d.shape[0]),face1_3d.shape[1]+face2_3d.shape[1],3))
face[:face1_3d.shape[0],:face1_3d.shape[1],...] = face1_3d face[:face1_3d.shape[0],:face1_3d.shape[1],...] = face1_3d