Skip to content

Commit

Permalink
issue with batch data, update vernum
Browse files Browse the repository at this point in the history
  • Loading branch information
RJbalikian committed Oct 31, 2023
1 parent 6198f51 commit fd7ecb1
Show file tree
Hide file tree
Showing 14 changed files with 478 additions and 5,950 deletions.
Binary file added __pycache__/run_test.cpython-311-pytest-7.4.3.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package:
name: sprit
version: 0.1.51
version: 0.1.52

source:
git_url: https://github.com/RJbalikian/SPRIT-HVSR
git_tag: v0.1.51
git_tag: v0.1.52

build:
number: 0
Expand Down
9 changes: 6 additions & 3 deletions docs/generate_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#Whether to convert_md using markdown library (True), or let github do it (False)
convert_md=True
rtd_theme=False #Not currently working
release_version= '0.1.51'
release_version= '0.1.52'
run_tests=True
lint_it=True

Expand Down Expand Up @@ -188,8 +188,11 @@

if run_tests:
print('Testing sprit.run()')
shelltype=True
if sys.platform == 'linux':
shelltype = False
try:
subprocess.run(["python", "-m", "pytest", repoDir.as_posix()], shell=True)
subprocess.run(["python", "-m", "pytest", repoDir.as_posix()], shell=shelltype)
except:
subprocess.run(["pytest", repoDir.as_posix()], shell=True)
subprocess.run(["pytest", repoDir.as_posix()], shell=shelltype)

5,491 changes: 0 additions & 5,491 deletions docs/main.html

This file was deleted.

603 changes: 303 additions & 300 deletions docs/sprit_hvsr.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "sprit"
authors = [{name="Riley Balikian"}, {name="Hongyu Xaio"}]
dynamic = ["readme"]
license = {file = "LICENSE"}
version="0.1.51"
version="0.1.52"
description = "A package for processing and analyzing HVSR (Horizontal to Vertical Spectral Ratio) data"
keywords = ["HVSR", "seismic", "horizontal to vertical spectral ratio", "obspy", 'geology', 'geophysics', 'geotechnical']
requires-python = ">=3.9"
Expand Down
11 changes: 10 additions & 1 deletion run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,13 @@ def test_run():
except:
test_passed = False

assert test_passed
assert test_passed

def test_batch():
try:
sprit.run('sample', source='batch')
test_passed=True
except:
test_passed = False

assert test_passed
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
name="sprit",
author= "Riley Balikian",
author_email = "balikian@illinois.edu",
version="0.1.51",
version="0.1.52",
package_data={'sprit': ['resources/*', 'resources/icon/*', 'resources/themes/*', 'resources/themes/forest-dark/*',
'resources/themes/forest-light/*', 'resources/sample_data/*','resources/settings/*']},
long_description_content_type="text/markdown",
Expand Down
Binary file modified sprit/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file modified sprit/__pycache__/sprit_cli.cpython-311.pyc
Binary file not shown.
Binary file modified sprit/__pycache__/sprit_gui.cpython-311.pyc
Binary file not shown.
Binary file modified sprit/__pycache__/sprit_hvsr.cpython-311.pyc
Binary file not shown.
Binary file modified sprit/__pycache__/sprit_utils.cpython-311.pyc
Binary file not shown.
306 changes: 155 additions & 151 deletions sprit/sprit_hvsr.py

Large diffs are not rendered by default.

0 comments on commit fd7ecb1

Please sign in to comment.