Skip to content

Commit c07d7e8

Browse files
committed
indentation correction
1 parent 939d079 commit c07d7e8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

climada/hazard/centroids/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
'.xls': 'XLS',
2424
'.xlsx': 'XLS',
2525
'.csv': 'CSV',
26-
}
26+
}
2727

2828
""" Supported files format to read from """
2929

climada/hazard/centroids/source.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
DEF_VAR_CSV = {'lat': 'X',
3737
'lon': 'Y',
3838
'region_id': 'iso_n3',
39-
}
39+
}
4040
""" CSV variable names """
4141

4242
LOGGER = logging.getLogger(__name__)
@@ -124,7 +124,7 @@ def read_csv(centroids, file_name, var_names):
124124
# TODO iterate over additional variables in var_names
125125
if var_names is None:
126126
var_names = DEF_VAR_CSV
127-
127+
128128
cent_pd = pd.read_csv(file_name)
129129

130130
centroids.id = np.array(cent_pd.index)
@@ -144,4 +144,4 @@ def read_csv(centroids, file_name, var_names):
144144
READ_SET = {'XLS': (DEF_VAR_EXCEL, read_excel),
145145
'MAT': (DEF_VAR_MAT, read_mat),
146146
'CSV': (DEF_VAR_CSV, read_csv),
147-
}
147+
}

0 commit comments

Comments
 (0)