Commit 8e4c53da authored by Paulo Medeiros's avatar Paulo Medeiros
Browse files

Lint commands_functions.py

parent 70510f1c
Pipeline #9235 passed with stages
in 1 minute and 13 seconds
......@@ -448,12 +448,15 @@ def csv2obsoul(args):
if args.selected_stations is not None:
if str(args.selected_stations).endswith(".csv"):
selected_stations = pd.read_csv(args.selected_stations)["id"]
logger.info("Read %s stations from file '%s'",
len(selected_stations), args.selected_stations)
logger.info(
"Read %s stations from file '%s'",
len(selected_stations),
args.selected_stations,
)
else:
logger.warning(
"Only csv files supported. Skipping file '%s'",
args.selected_stations
args.selected_stations,
)
selected_stations = None
......
......@@ -7,7 +7,7 @@
[tool.poetry]
name = "netatmoqc"
version = "0.3.4.dev1"
version = "0.3.4.dev2"
description = "Use machine learning clustering methods to perform quality control over NetAtmo data"
authors = [
"Paulo V. C. Medeiros <paulo.medeiros@smhi.se>"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment