Skip to content

Commit

Permalink
Merge pull request #965 from ToFuProject/devel
Browse files Browse the repository at this point in the history
Prepare 1.8.0
  • Loading branch information
Didou09 authored Sep 6, 2024
2 parents 18cb948 + d3b1234 commit 3f46a6d
Show file tree
Hide file tree
Showing 28 changed files with 896 additions and 937 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test-complete-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: ['3.8', '3.9', '3.10']
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
include:
- python-version: '3.7.11'
os: ubuntu-20.04
exclude:
- python-version: ['3.11']
os: windows-latest

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ svg.path
Polygon3

######## Requirements with Version Specifier ########
datastock>=0.0.39
bsplines2d>=0.0.15
spectrally>=0.0.4
Cython>=0.26
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,7 @@ def get_version_tofu(path=_HERE):
"svg.path",
"Polygon3",
"cython>=0.26",
"datastock>=0.0.39",
"bsplines2d>=0.0.15",
"spectrally>=0.0.4",
],
python_requires=">=3.6",

Expand Down
14 changes: 4 additions & 10 deletions tofu/data/_class00_Config.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# -*- coding: utf-8 -*-


# Built-in
import copy


# Common
import numpy as np
import datastock as ds
import bsplines2d as bs2
import spectrally as sp


# tofu
Expand All @@ -24,13 +18,13 @@
# #############################################################################


class Config(bs2.BSplines2D):
class Config(sp.Collection):

_show_in_summary = 'all'
_dshow = dict(bs2.BSplines2D._dshow)
_dshow = dict(sp.Collection._dshow)
_dshow.update({
'structure': [
],
'config': [
],
})
})
8 changes: 4 additions & 4 deletions tofu/data/_class08_Diagnostic.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ def get_diagnostic_data(
default=None,
print_full_doc=None,
**kwdargs,
):
""" Return dict of data for chosen cameras
):
""" Return dict of built-in data for chosen cameras
data can be:
'etendue'
Expand All @@ -177,7 +177,7 @@ def get_diagnostic_data(
'res'
"""
return _get_data._get_data(
return _get_data.main(
coll=self,
key=key,
key_cam=key_cam,
Expand All @@ -200,7 +200,7 @@ def get_diagnostic_data_concatenated(
"""
return _concatenate._concatenate_data(
return _concatenate.main(
coll=self,
key=key,
key_data=key_data,
Expand Down
Loading

0 comments on commit 3f46a6d

Please sign in to comment.