Skip to content

Update Staging for Final 1.0 #232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
Mar 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
eca4d62
small doc update
seanebum Feb 28, 2022
3372f96
Fixed start here notebook name.
BryanRumsey Mar 1, 2022
a2585ed
Fixed doc strings for boundary conditions.
BryanRumsey Mar 1, 2022
05ad212
Fixed doc strings for boundary conditions.
BryanRumsey Mar 1, 2022
86c3647
Added a missing raises doc tag for data functions.
BryanRumsey Mar 1, 2022
4ca44ad
Updated docs in domain. updated docs.
BryanRumsey Mar 1, 2022
d5d489f
Updated docs in domain. updated docs.
BryanRumsey Mar 1, 2022
dffadb7
Updated docs in domain. updated docs.
BryanRumsey Mar 1, 2022
a9df60e
Updates to Geometry and Initial Condition docs.
BryanRumsey Mar 1, 2022
3fd6aa7
closes #225
briandrawert Mar 1, 2022
08b5a36
Updated docs.
BryanRumsey Mar 2, 2022
ac1c46b
Updated docs html files.
BryanRumsey Mar 2, 2022
a09f2e0
Updated docs for initial conditions and model.
BryanRumsey Mar 2, 2022
6e7d788
Updated docs html files.
BryanRumsey Mar 2, 2022
c142a95
Updated docs for reactions.
BryanRumsey Mar 2, 2022
b3639dd
Updated docs html files.
BryanRumsey Mar 2, 2022
0186da3
Updated docs for results.
BryanRumsey Mar 2, 2022
aaa1606
Updated docs html files.
BryanRumsey Mar 2, 2022
4a0d3d3
Updated docs for species.
BryanRumsey Mar 2, 2022
93511d4
Updated docs html files.
BryanRumsey Mar 2, 2022
5f41717
Updated docs for stochss export.
BryanRumsey Mar 2, 2022
dd077f1
Updated docs html files.
BryanRumsey Mar 2, 2022
e9edd02
Updated docs for solver.
BryanRumsey Mar 2, 2022
7d7f806
Updated docs html files.
BryanRumsey Mar 2, 2022
7b3f35d
Split tests into unit tests and integration tests. Added new test sc…
BryanRumsey Mar 4, 2022
e71ba96
updates to test 3d cylinder demo nb.
BryanRumsey Mar 7, 2022
a60534d
update to domain docs
seanebum Mar 7, 2022
553652e
added develop branch to integration test cation target.
BryanRumsey Mar 7, 2022
5d522c2
Merge pull request #233 from StochSS/split-tests
seanebum Mar 7, 2022
637527e
update link to example StartHere notebook
seanebum Mar 7, 2022
a345465
added explination of the validation plots
briandrawert Mar 7, 2022
774335d
Merge branch 'develop' of github.com:stochss/SpatialPy into develop
briandrawert Mar 7, 2022
02913a1
Merge pull request #229 from StochSS/doc-edits
briandrawert Mar 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/run-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Run SpatialPy Integration Tests

on:
push:
branches: [staging, develop]

jobs:
run-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]

steps:
- name: Initialize environment
uses: actions/checkout@v2

- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.7'

- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
python3 -m pip install coverage

- name: Run tests
run: coverage run test/run_integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
python3 -m pip install coverage

- name: Run tests
run: coverage run test/run_tests.py
run: coverage run test/run_unit_tests.py
Binary file modified docs/build/html/.doctrees/classes/spatialpy.core.doctree
Binary file not shown.
Binary file modified docs/build/html/.doctrees/classes/spatialpy.solvers.doctree
Binary file not shown.
Binary file modified docs/build/html/.doctrees/classes/spatialpy.stochss.doctree
Binary file not shown.
Binary file modified docs/build/html/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/html/.doctrees/index.doctree
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h1>Source code for spatialpy.core.boundarycondition</h1><div class="highlight">
<span class="sd"> - type_id: type (subdomain) of the partciles</span>
<span class="sd"> Targets (one of the following must be set):</span>
<span class="sd"> property: (str), &#39;nu&#39;, &#39;rho&#39;,&#39;v&#39;</span>
<span class="sd"> species: (str) name of a chemical species.</span>
<span class="sd"> species: (str) name of a chemical species. \</span>
<span class="sd"> Must also set deterministic=True/False flag.</span>

<span class="sd"> :param xmin: x-axis coordinate lower bound of **condition**</span>
Expand Down Expand Up @@ -152,15 +152,15 @@ <h1>Source code for spatialpy.core.boundarycondition</h1><div class="highlight">
<span class="sd"> and applies to deterministic simulation. **BoundaryCondition not yet implemeneted for Stochastic Species**.</span>
<span class="sd"> :type deterministic: bool</span>

<span class="sd"> :param target: Set **target** to properties, can be &#39;nu&#39; &#39;rho&#39; or &#39;v&#39; or species name</span>
<span class="sd"> :param target: Set **target** to properties, can be &#39;nu&#39; &#39;rho&#39; or &#39;v&#39; or species name \</span>
<span class="sd"> If species name, determinstic must also be set to True/False.</span>
<span class="sd"> :type target: str</span>

<span class="sd"> :param value: Value property will take in region defined by the conditions</span>
<span class="sd"> :type value: float or float[3]</span>

<span class="sd"> :param model: Target model of boundary condition</span>
<span class="sd"> :type model: spatialpy.Model.Model</span>
<span class="sd"> :type model: spatialpy.core.model.Model</span>
<span class="sd"> &quot;&quot;&quot;</span>

<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">xmin</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">xmax</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">ymin</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">ymax</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">zmin</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">zmax</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
Expand Down
10 changes: 6 additions & 4 deletions docs/build/html/_modules/spatialpy/core/datafunction.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ <h1>Source code for spatialpy.core.datafunction</h1><div class="highlight"><pre>

<span class="sd"> :param name: Name of the Data Function.</span>
<span class="sd"> :type name: str</span>

<span class="sd"> :raises DataFunctionError: If a name is not provided.</span>
<span class="sd"> &quot;&quot;&quot;</span>

<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">name</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
Expand All @@ -128,11 +130,11 @@ <h1>Source code for spatialpy.core.datafunction</h1><div class="highlight"><pre>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> This method must be overridden by the DataFunction subclass.</span>

<span class="sd"> NOTE: The spatial location is evaulated at t=0 and is not</span>
<span class="sd"> reevaluated as the fluid domain moves over time.</span>
<span class="sd"> NOTE: The spatial location is evaulated at t=0 and is not \</span>
<span class="sd"> re-evaluated as the fluid domain moves over time.</span>

<span class="sd"> :param point: The x,y,z position</span>
<span class="sd"> :type point: vector of 3 doubles</span>
<span class="sd"> :param point: The x, y, z position.</span>
<span class="sd"> :type point: float[3]</span>

<span class="sd"> :returns: Value of function at this spatial location.</span>
<span class="sd"> :rtype: float</span>
Expand Down
Loading