Skip to content

Commit

Permalink
Merge pull request #35 from ToFuProject/Issue031_version
Browse files Browse the repository at this point in the history
version, copy(dconstraints) and tutorials
  • Loading branch information
dvezinet authored Jul 29, 2024
2 parents 56a2643 + e69240d commit 55f62b6
Show file tree
Hide file tree
Showing 4 changed files with 561 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spectrally/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
import warnings


from .version import __version__
from ._class02_SpectralFit import SpectralFit as Collection
from ._saveload import load
from . import tests
from ._class01_show import *
from ._class01_display_models import *
from . import tests
from . import tutorials


_PKG = 'spectrally'
Expand Down
2 changes: 2 additions & 0 deletions spectrally/_class01_check_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"""


import copy
import itertools as itt


Expand Down Expand Up @@ -148,6 +149,7 @@ def _check(
# Format
# ------------

dconstraints = copy.deepcopy(dconstraints)
for k0, v0 in dconstraints.items():
for k1, v1 in v0.items():
if k1 != 'ref':
Expand Down
4 changes: 4 additions & 0 deletions spectrally/tutorials/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@



from .tutorial import *
Loading

0 comments on commit 55f62b6

Please sign in to comment.