Skip to content

Commit

Permalink
Added iris.SpectrographObservation class. (#2)
Browse files Browse the repository at this point in the history
* Added `iris.SpectrographObservation` class.

* black

* ruff

* fix deps

* bump python versions

* docs

* docs

* docs

* decrement python

* docs

* coverage

* black
  • Loading branch information
byrdie authored Jul 31, 2024
1 parent e5f2102 commit 2ebd249
Show file tree
Hide file tree
Showing 9 changed files with 457 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
windows-latest,
macOS-latest,
]
python-version: ["3.9", "3.11",]
python-version: ["3.10", "3.11",]
name: ${{ matrix.os }}, Python ${{ matrix.python-version }} tests
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions docs/_templates/class_custom.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@
.. rubric:: {{ _('Inheritance Diagram') }}

.. inheritance-diagram:: {{ fullname }}
:parts: 1
{% endblock %}

2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# -- Project information -----------------------------------------------------

project = 'interface-region-imaging-spectrograph'
project = 'IRIS'
copyright = '2024, Roy T. Smart'
author = 'Roy T. Smart'

Expand Down
2 changes: 2 additions & 0 deletions iris/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

from . import planning
from . import data
from ._spectrograph import SpectrographObservation

__all__ = [
"planning",
"data",
"SpectrographObservation",
]
9 changes: 9 additions & 0 deletions iris/_spectrograph/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"""
Represent and manipulate data captured using the IRIS spectrograph
"""

from ._spectrograph import SpectrographObservation

__all__ = [
"SpectrographObservation",
]
Loading

0 comments on commit 2ebd249

Please sign in to comment.