Skip to content

Commit

Permalink
Fixed import statements
Browse files Browse the repository at this point in the history
eccoope authored Jun 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 69b431d commit 2090237
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions docs/examples/snow-detection/snow-mode.py
Original file line number Diff line number Diff line change
@@ -66,17 +66,7 @@
import pvanalytics
# Functions needed for the analysis procedure
from pvanalytics.features import clipping
# from pvanalytics.features import snow
import sys
import os
base_dir = pathlib.Path('C:\\')
pvanalytics_dir = pathlib.Path(os.path.join(base_dir, "Users", "eccoope",
"Documents", "GitHub",
"pvanalytics", "pvanalytics"))

my_path = os.path.join(pvanalytics_dir, 'features')
sys.path.insert(0, my_path)
import snow
from pvanalytics.features import snow

# %% Load in system configuration parameters (dict)
# pvanalytics_dir = pathlib.Path(pvanalytics.__file__).parent

0 comments on commit 2090237

Please sign in to comment.