Skip to content

Releases: ansys/pysimai

v0.2.4

23 Sep 16:59
3e999f2
Compare
Choose a tag to compare

New:

  • Auth tokens are now cached in file system and get re-authenticated in a parallel fashion.
  • Invalid refresh token now triggers a reauth instead of crashing.
  • build_preset option in class ModelConfiguration can now be one of debug, 1_day, 2_days, 7_days.
  • Model Evaluation Report data (csv file) can now be downloaded with Workspace.download_mer_data.
  • Typing improvements; introducing JSON type is introduced and APIResponse type is updated to include JSON type.
  • New property raw_confidence_score is added to class Prediction, which returns the raw confidence score.

Fix:

  • Fixed the error where GlobalCoefficients.data was not in coordinance with the BE response. GlobalCoefficients.data now runs without errors.

v0.2.3

20 Aug 09:18
1b15f10
Compare
Choose a tag to compare

New:

  • Added :py:class:PostProcessInput<ansys.simai.core.data.model_configuration.PostProcessInput> class to define post processing input fields.
  • Added support for NaN and Inf for Global Coefficients and Post Processings.

Fixes:

  • Removed compute argument from :py:meth:TrainingData.upload_folder()<ansys.simai.core.data.training_data.TrainingData.upload_folder>
  • Fixed Model Configuration to raise a ProcessingError when volume field is missing from a sample specifying volume output.
  • Removed wakepy error mode success (deprecated) during optimization.
  • Renamed TrainingData method compute() to :py:meth:TrainingData.extract_data()<ansys.simai.core.data.training_data.TrainingData.extract_data>.
  • Updated documentation of :py:meth:GeometryDirectory.upload()<ansys.simai.core.data.geometries.GeometryDirectory.upload>: the workspace_id argument was moved to workspace but never updated.

v0.2.2

17 Jul 13:25
b309678
Compare
Choose a tag to compare

New:

  • Added support for the postprocessing of custom volume of point cloud. Use :py:meth:Geometry.upload_point_cloud<ansys.simai.core.data.geometries.Geometry.upload_point_cloud> to upload a point cloud file on a geometry and run the post processing through :py:meth:Prediction.post.custom_volume_point_cloud<ansys.simai.core.data.post_processings.PredictionPostProcessings.custom_volume_point_cloud> to run the postprocessing.

Fix:

  • Remove internal uses of deprecated workspace.model

v0.2.1

28 Jun 15:14
Compare
Choose a tag to compare

Fixes:

  • Fixed bug that was crashing method ModelConfiguration.compute_global_coefficient. The result of the Global Coefficient formula can now be retrieved.

v0.2.0

28 Jun 09:27
Compare
Choose a tag to compare

New:

  • Model configuration can now be created from scratch and be used in training requests.
  • Training-data subsets can now be assigned to None. Options Ignored and Validation are retired.

Fixes:

  • Fixed bug when uploading large files. Large files can now be uploaded.
  • Fixed bug when listing prediction without current_workspace being set.

v0.1.7

30 May 15:08
241cf93
Compare
Choose a tag to compare

New:

  • Added :py:class:DomainOfAnalysis<ansys.simai.core.data.models.DomainOfAnalysis> class to help set the domain of analysis on a new model.
  • Add workspace option where we previously relied only on the global workspace
  • Add prediction.post.list()

Fixes:

  • Reestablish python 3.9 compatibility.
  • Bump wakepy lib to fix errors when not able to prevent sleep during optimization.

v0.1.6

29 Apr 16:24
a66bd85
Compare
Choose a tag to compare

New:

  • Added new method :py:meth:TrainingData.assign_subset()<ansys.simai.core.data.training_data.TrainingData.assign_subset> that allows you to assign a Train, Validation, or Test subset to your data.

Fixes:

  • The method :py:meth:Optimization.run()<ansys.simai.core.data.optimizations.OptimizationDirectory.run> now raises an exception if no workspace is provided and none is configured.
  • Fix RecursionError on authentication refresh

Full Changelog: v0.1.5...v0.1.6

v0.1.5

15 Apr 16:26
Compare
Choose a tag to compare
  • Training can now be launched using the most recent model configuration from a project.
  • Enabled non-interactive mode capability, allowing for automation or operations without manual inputs.
  • Added new validation Project.is_trainable() to verify if the project meets all minimum requirements for training.
  • Added new method Project.get_variables() to get all available variables used for a model's inputs and outputs.
  • Fixed bug where a subset of training data could not be pulled. A subset of training data is now correctly retrieved.
  • Fixed erroneous call to a private function during the optimization run.

New Contributors

Full Changelog: v0.1.4...v0.1.5

v0.1.4

29 Feb 09:26
2d7d8bf
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.3...v0.1.4

v0.1.3

05 Feb 14:46
84fa20f
Compare
Choose a tag to compare

What's Changed

  • dev: add codecov action by @tmpbeing in #20
  • fix: training data upload_folder method by @tmpbeing in #21
  • build(deps): bump pdm-project/setup-pdm from 3 to 4 by @dependabot in #23
  • build(deps): bump peter-evans/create-or-update-comment from 2 to 4 by @dependabot in #22
  • Merge release branch into main by @awoimbee in #24
  • Fix arguments ignored if no config file found by @awoimbee in #26

Full Changelog: v0.1.2...v0.1.3