1 parent 2e23401 commit 7fd39e7Copy full SHA for 7fd39e7
1 file changed
oceanval/__init__.py
@@ -614,9 +614,10 @@ def validate(
614
# os.symlink(f"{book_dir}/_build/html/index.html", f"{out_dir}/oceanval_report.html")
615
# create a symlink with relative directory
616
os.symlink(os.path.relpath(out_ff, out_dir), f"{out_dir}/oceanval_report.html")
617
- webbrowser.open(
618
- "file://" + os.path.abspath(f"{book_dir}/_build/html/index.html")
619
- )
+ if test is False:
+ webbrowser.open(
+ "file://" + os.path.abspath(f"{book_dir}/_build/html/index.html")
620
+ )
621
622
623
def rebuild(data_dir="."):
0 commit comments