Skip to content

Commit 4501a20

Browse files
committed
Change function name from uv3d to main
The function name "uv3d" triggered ImportError: cannot import name 'main' from 'bdschism.uv3d' when the function uv3d was called in command line.
1 parent b5580fa commit 4501a20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bdschism/bdschism/uv3d.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
type=bool,
7575
help="If true, the file will be moved to run_dir. Otherwise, it will be done in place in outputs.",
7676
)
77-
def uv3d(
77+
def main(
7878
param_nml,
7979
bg_dir,
8080
bg_output_dir,
@@ -204,4 +204,4 @@ def uv3d(
204204

205205

206206
if __name__ == "__main__":
207-
uv3d()
207+
main()

0 commit comments

Comments
 (0)