-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modification to readers plus small changes to dplpy and pyproject (#55)
* mostly change to readers for RWL files 1. change readers to handle series IDs of different lengths and the potential for negative (B.C.) years 2. removed directory change in __init__ so that default is path where the notebook or script is * Update __init__.py * Update readers.py --------- Co-authored-by: Michele Cosi <[email protected]>
- Loading branch information
1 parent
796042d
commit 68b9aa1
Showing
13 changed files
with
73 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# Scripts for testing | ||
src/test_*.py | ||
src/*.txt | ||
src/misc.py | ||
|
||
# IDE stuff | ||
.DS_Store | ||
.vscode/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
__author__ = "Tyson Lee Swetnam" | ||
__email__ = "[email protected]" | ||
__version__ = "0.1.testing" | ||
__version__ = "0.1" | ||
|
||
__copyright__ = """ | ||
dplPy for tree ring width time series analyses | ||
|
@@ -28,13 +28,11 @@ | |
import os | ||
import sys | ||
|
||
os.chdir(os.path.dirname(os.path.realpath(__file__))) | ||
lpath = os.path.dirname(os.path.realpath(__file__)) | ||
sys.path.append(lpath) | ||
|
||
del os, sys | ||
|
||
|
||
_hard_dependencies = ("pandas", "numpy", "scipy", "csaps", "matplotlib", "statsmodels") | ||
_missing_dependencies = [] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name="dplpy" | ||
description="dendrochronology library for Python" | ||
description="Dendrochronology Program Library for Python" | ||
readme="README.md" | ||
version="0.1" | ||
authors=[ | ||
|
@@ -16,16 +16,12 @@ authors=[ | |
{name='Kevin Anchukaitis', email='[email protected]'}, | ||
] | ||
license={file='LICENSE'} | ||
requires-python = '>=3.10' | ||
requires-python = '>=3.11' | ||
dependencies=[ | ||
"numpy>=1.22.4,<2; python_version<'3.11'", | ||
"numpy>=1.23.2,<2; python_version=='3.11'", | ||
"numpy>=1.26.0,<2; python_version>='3.12'", | ||
"pandas>=2.0.0", | ||
|
||
"pandas>=2.1.1", | ||
"numpy>=1.26.0", | ||
"csaps==1.1.0", | ||
"matplotlib>=3.8.0", | ||
"statsmodels>=0.13.5; python_version>='3.10'", | ||
"statsmodels>=0.14.0; python_version>='3.12'", | ||
"matplotlib>=3.8.1", | ||
"statsmodels>=0.14.0", | ||
"scipy>=1.11.3" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters