@@ -259,8 +259,8 @@ def set_country(self, countries, **args):
259259 'LitPop for %s at %i as, year=%i, financial mode=%s, GPW-year=%i, BM-year=%i, exp=[%i, %i]' \
260260 % (country_info [curr_country ][1 ], resolution , reference_year , \
261261 fin_mode , \
262- min (GPW_YEARS , key = lambda x :abs (x - reference_year )), \
263- min (BM_YEARS , key = lambda x :abs (x - reference_year )), \
262+ min (GPW_YEARS , key = lambda x : abs (x - reference_year )), \
263+ min (BM_YEARS , key = lambda x : abs (x - reference_year )), \
264264 exponents [0 ], exponents [1 ])
265265 Exposures .__init__ (self , gpd .GeoDataFrame (pd .concat (lp_cntry , \
266266 ignore_index = True )), crs = DEF_CRS )
@@ -1876,9 +1876,9 @@ def admin1_validation(country, methods, exponents, **args):
18761876
18771877
18781878def exposure_set_admin1 (exposure ):
1879- """ add admin1 ID and name to exposure dataframe"""
1880- """
1881- Input :
1879+ """ add admin1 ID and name to exposure dataframe
1880+
1881+ Parameters :
18821882 exposure: exposure instance
18831883
18841884 Returns:
0 commit comments