Skip to content
Snippets Groups Projects
Commit 93db459b authored by lukas leufen's avatar lukas leufen
Browse files

corrected typo in comments

parent f3702dba
Branches
Tags
2 merge requests!6updated inception model and data prep class,!4data prep class
...@@ -13,7 +13,7 @@ from typing import Union, List, Iterable ...@@ -13,7 +13,7 @@ from typing import Union, List, Iterable
import datetime as dt import datetime as dt
# definde more general date type for type hinting # define more general date type for type hinting
date = Union[dt.date, dt.datetime] date = Union[dt.date, dt.datetime]
...@@ -304,7 +304,7 @@ class DataPrep(object): ...@@ -304,7 +304,7 @@ class DataPrep(object):
:param coord: name of axis to slice :param coord: name of axis to slice
:return: :return:
""" """
return data.loc[{coord: slice(start, end)}] # type: ignore return data.loc[{coord: slice(start, end)}]
def check_for_negative_concentrations(self, data: xr.DataArray, minimum: int = 0) -> xr.DataArray: def check_for_negative_concentrations(self, data: xr.DataArray, minimum: int = 0) -> xr.DataArray:
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment