ansys / pytwin

Ansys Digital Twin repository
https://twin.docs.pyansys.com
MIT License
19 stars 7 forks source link

Feat/107 add option to read input snapshots from memory rather than disk #123

Closed EDCarman closed 1 year ago

EDCarman commented 1 year ago

Input snapshots can be passed as file paths or Numpy arrays. Files are read from disk (old behaviour), while arrays are used directly, after shape checking. Added new example and unit tests. Minor cleanup of existing examples.

codecov-commenter commented 1 year ago

Codecov Report

Merging #123 (204fe8d) into main (bfe9283) will increase coverage by 0.13%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #123      +/-   ##
==========================================
+ Coverage   88.80%   88.93%   +0.13%     
==========================================
  Files          11       11              
  Lines        2322     2350      +28     
==========================================
+ Hits         2062     2090      +28     
  Misses        260      260