Skip to content

Commit

Permalink
another default
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Aug 10, 2024
1 parent fb4dd57 commit dc5dd0b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
if on_rtd:
os.environ["SISL_NUM_PROCS"] = "1"
os.environ["SISL_VIZ_NUM_PROCS"] = "1"

if "SISL_FILES_TESTS" not in os.environ:
os.environ["SISL_FILES_TESTS"] = str(_root / "files" / "tests")


Expand All @@ -55,9 +57,10 @@
sisl_files_tests = sisl.get_environ_variable("SISL_FILES_TESTS")
print(f"SISL_FILES_TESTS: {sisl_files_tests}")
print(" is directory: ", sisl_files_tests.is_dir())
print(" content:")
for _child in sisl_files_tests.iterdir():
print(f" {_child}")
if sisl_files_tests.is_dir():
print(" content:")
for _child in sisl_files_tests.iterdir():
print(f" {_child}")


# General information about the project.
Expand Down

0 comments on commit dc5dd0b

Please sign in to comment.