Skip to content

Commit

Permalink
prevent name clash, import tools
Browse files Browse the repository at this point in the history
  • Loading branch information
rieder committed Nov 18, 2024
1 parent c1ff57b commit 5f70718
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/sunbather/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
import pathlib
import shutil

def install_cloudy():
import sunbather.tools

def check_cloudy():
"""
Checks if Cloudy executable exists, and if not, prompts to download and build it.
"""
Expand Down Expand Up @@ -69,7 +71,7 @@ def make_workingdir():

def firstrun():
"""
Runs 'install_cloudy()' and 'make_workingdir()'.
Runs 'check_cloudy()' and 'make_workingdir()'.
"""
install_cloudy()
check_cloudy()
make_workingdir()

0 comments on commit 5f70718

Please sign in to comment.