Skip to content

Commit

Permalink
Update hydromt/data_adapter/dataframe.py
Browse files Browse the repository at this point in the history
Co-authored-by: DirkEilander <[email protected]>
  • Loading branch information
savente93 and DirkEilander authored Jul 31, 2023
1 parent a00413c commit 7f0a534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydromt/data_adapter/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def to_file(
elif driver == "excel":
fn_out = join(data_root, f"{data_name}.xlsx")
obj.to_excel(fn_out, **kwargs)
else:
return fn_out, driver, read_kwargs
raise ValueError(f"DataFrame: Driver {driver} is unknown.")

return fn_out, driver, kwargs
Expand Down

0 comments on commit 7f0a534

Please sign in to comment.