generated from feelpp/feelpp-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
67 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,12 @@ build-backend = "scikit_build_core.build" | |
|
||
[project] | ||
name = "kub-hpda-ml" | ||
version = "3.0.1" | ||
description="Kub Hpda Ml" | ||
version = "0.1.0" | ||
description="KTirio Urban Building HPDA and ML processing" | ||
readme = "README.md" | ||
authors = [ | ||
{ name = "Christophe Prud'homme", email = "[email protected]" }, | ||
{ name = "Javier Cladellas", email = "[email protected]"} | ||
] | ||
requires-python = ">=3.7" | ||
classifiers = [ | ||
|
@@ -29,7 +30,9 @@ test = ["pytest"] | |
|
||
[tool.scikit-build] | ||
wheel.expand-macos-universal-tags = true | ||
|
||
wheel.packages = ["src/feelpp/"] | ||
cmake.verbose = true | ||
logging.level = "INFO" | ||
|
||
[tool.pytest.ini_options] | ||
minversion = "6.0" | ||
|
@@ -39,8 +42,8 @@ filterwarnings = [ | |
"error", | ||
"ignore:(ast.Str|Attribute s|ast.NameConstant|ast.Num) is deprecated:DeprecationWarning:_pytest", # Python 3.12 | ||
] | ||
# testpaths = ["tests"] | ||
|
||
testpaths = ["tests", "src/notebooks"] | ||
pythonpath = ["src/feelpp"] | ||
|
||
# [tool.cibuildwheel] | ||
# test-command = "pytest {project}/tests" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ scipy | |
pandas | ||
tabulate | ||
plotly | ||
|
||
. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from vtk import * | ||
import numpy as np | ||
|
||
def read_case(filepath): | ||
""" | ||
Read the Ensight Gold case file and return the reader object | ||
Parameters | ||
---------- | ||
filepath : str | ||
The path to the Ensight Gold case file | ||
Returns | ||
------- | ||
reader : vtkEnSightGoldBinaryReader | ||
The reader object | ||
""" | ||
reader = vtkEnSightGoldBinaryReader() | ||
reader.SetCaseFileName(filepath) | ||
reader.Update() | ||
return reader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters