Skip to content

Commit e1c737b

Browse files
authored
Merge pull request #48 from deepanshs/djs/setup_builds
djs/Testing coverage over os/python
2 parents 5ad2885 + 14028be commit e1c737b

File tree

6 files changed

+39
-16
lines changed

6 files changed

+39
-16
lines changed

.github/workflows/continuous-integration-pip.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,38 @@ jobs:
6565
- name: Upload coverage
6666
uses: codecov/codecov-action@v4.5.0
6767

68+
# test-windows:
69+
# needs: [code_lint]
70+
# runs-on: "windows-latest"
71+
# strategy:
72+
# matrix:
73+
# python-version: ["3.10", "3.11"]
74+
75+
# steps:
76+
# - name: Checkout
77+
# uses: actions/checkout@v4
78+
79+
# - name: Set up Python ${{ matrix.python-version }}
80+
# uses: actions/setup-python@v5
81+
# with:
82+
# python-version: ${{ matrix.python-version }}
83+
84+
# - name: Install dependencies
85+
# run: |
86+
# C:\msys64\pacman -S mingw-w64-x86_64-openblas
87+
# python -m pip install --upgrade pip
88+
# pip install setuptools
89+
# pip install -r requirements-dev.txt
90+
91+
# - name: Build and install package from source
92+
# run: python setup.py develop
93+
94+
# - name: Test with pytest
95+
# run: pytest --cov=./ --cov-report=xml
96+
97+
# - name: Upload coverage
98+
# uses: codecov/codecov-action@v4.5.0
99+
68100
testing_mac_intel:
69101
needs: [code_lint]
70102
runs-on: "macos-13"

docs/index.rst

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -103,25 +103,16 @@ Getting Started
103103
---------------
104104

105105
.. toctree::
106-
:maxdepth: 2
107-
:caption: Installation
108-
109-
installation/install
110-
installation/requirement
111-
112-
113-
User Documentation
114-
------------------
115-
116-
.. toctree::
117-
:maxdepth: 2
106+
:maxdepth: 1
118107
:caption: User Documentation
119108

109+
installation/install
120110
introduction
121111
before_getting_started
122112
getting_started_lineshape
123113
getting_started_relaxation
124114

115+
125116
Examples
126117
--------
127118

docs/installation/requirement.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The ``mrinversion`` library depends on the following packages:
1010

1111
- `numpy<2.0 <https://www.numpy.org>`_
1212
- `csdmpy>=0.5 <https://csdmpy.readthedocs.io/en/stable/>`_
13-
- `mrsimulator>=0.6 <https://mrsimulator.readthedocs.io/en/stable/>`_ (for generating
13+
- `mrsimulator>=0.7 <https://mrsimulator.readthedocs.io/en/stable/>`_ (for generating
1414
the NMR line-shape)
1515
- `scikit-learn>=0.22.1 <https://scikit-learn.org/stable/>`_ (for statistical leaning methods)
1616

mrinversion/kernel/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import csdmpy as cp
44
import numpy as np
5-
from mrsimulator.methods import BlochDecaySpectrum
5+
from mrsimulator.method.lib import BlochDecaySpectrum
66

77
from .utils import _x_y_to_zeta_eta_distribution
88

mrinversion/kernel/csa_aniso.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from mrsimulator import Simulator
44
from mrsimulator import SpinSystem
5-
from mrsimulator.methods import BlochDecaySpectrum
5+
from mrsimulator.method.lib import BlochDecaySpectrum
66

77
from mrinversion.kernel.base import LineShape
88

mrinversion/kernel/tests/shielding_lineshape_kernel_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from mrsimulator import Simulator
44
from mrsimulator import Site
55
from mrsimulator import SpinSystem
6-
from mrsimulator.methods import BlochDecaySpectrum
6+
from mrsimulator.method.lib import BlochDecaySpectrum
77

88
from mrinversion.kernel.nmr import MAF
99
from mrinversion.kernel.nmr import ShieldingPALineshape

0 commit comments

Comments
 (0)