From bece3ce80ab89b2c5ac381e6fabf949b2881776f Mon Sep 17 00:00:00 2001 From: Carles Tena Date: Wed, 8 Apr 2020 12:57:28 +0200 Subject: [PATCH] Drop prints --- hermesv3_bu/sectors/traffic_sector.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/hermesv3_bu/sectors/traffic_sector.py b/hermesv3_bu/sectors/traffic_sector.py index 365f562..9fb5294 100755 --- a/hermesv3_bu/sectors/traffic_sector.py +++ b/hermesv3_bu/sectors/traffic_sector.py @@ -1313,9 +1313,7 @@ class TrafficSector(Sector): del df_aux libc.malloc_trim(0) gc.collect() - print('2 ->', df.columns) for in_p in in_list: - print('\t{0}'.format(in_p)) involved_out_pollutants = [key for key, value in self.speciation_map.items() if value == in_p] # Selecting only necessary speciation profiles @@ -1332,7 +1330,6 @@ class TrafficSector(Sector): # Renaming pollutant columns by adding "old_" to the beginning. df_aux.rename(columns={in_p: 'old_{0}'.format(in_p)}, inplace=True) for p in involved_out_pollutants: - print('\t\t{0}'.format(p)) if in_p is not np.nan: if in_p != 0: df_aux[p] = df_aux['old_{0}'.format(in_p)].multiply(df_aux['f_{0}'.format(p)]) -- GitLab