Skip to content

Commit a420547

Browse files
clean up imports in example docs
1 parent 3dd14e6 commit a420547

File tree

4 files changed

+50
-53
lines changed

4 files changed

+50
-53
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ uv.lock
99
# build files
1010
**/*.egg-info
1111
**/__pycache__
12-
**/build
12+
**/build
13+
**/.ipynb_checkpoints/

cdippy/nchashes.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ class NcHashes:
1010
hashes_url = "http://cdip.ucsd.edu/data_access/metadata/wavecdf_by_datemod.txt"
1111
new_hashes = {}
1212

13-
def __init__(self):
14-
"""
15-
Args:
16-
hash_file_location (str, optional): A path to the location to store the local copy of HASH.pkl. Defaults to the current directory.
17-
"""
18-
self.load_hash_table()
13+
def __init__(self, hash_file_location=""):
14+
self.hash_pkl = hash_file_location + "/HASH.pkl"
1915

2016
def load_hash_table(self):
2117
"""

docs/examples/cdippy-boxplot.ipynb

Lines changed: 31 additions & 31 deletions
Large diffs are not rendered by default.

docs/examples/cdippy-compendium.ipynb

Lines changed: 15 additions & 15 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)