Skip to content

Commit

Permalink
cleaup
Browse files Browse the repository at this point in the history
  • Loading branch information
savente93 committed Jul 31, 2023
1 parent f194905 commit ea5a999
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hydromt/data_adapter/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def to_file(
logger.warning(str(err))
return None, None, None

read_kwargs = dict()
read_kwargs = dict()
if driver is None or driver == "csv":
# always write as CSV
driver = "csv"
Expand All @@ -179,10 +179,10 @@ def to_file(
elif driver == "excel":
fn_out = join(data_root, f"{data_name}.xlsx")
obj.to_excel(fn_out, **kwargs)
return fn_out, driver, read_kwargs
else:
raise ValueError(f"DataFrame: Driver {driver} is unknown.")

return fn_out, driver, kwargs
return fn_out, driver, read_kwargs

def get_data(
self,
Expand Down

0 comments on commit ea5a999

Please sign in to comment.