You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sorting of jobs by values of parameters appears to be a sort of the absolute value of the parameter
📝 Steps to reproduce
run the mapdl tyre performance example
then run
from ansys.hps.client import Client, ProjectApi, JmsApi
cl = Client(url="https://localhost:8443/hps", username="repadmin", password="repadmin")
project = JmsApi(cl).get_project_by_name("Mapdl Tyre Performance")
api = ProjectApi(cl, project.id)
jobs = api.get_jobs(sort=["values.camber_angle"])
for job in jobs:
print(f"camber_angle={job.values.get('camber_angle')}")
🔍 Before submitting the issue
🐞 Description of the bug
sorting of jobs by values of parameters appears to be a sort of the absolute value of the parameter
📝 Steps to reproduce
run the mapdl tyre performance example
then run
I see the result:
The HPS server is running in WSL with the client and product running in native windows.
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
ansys hps client == 0.8.0
mapdl is 24r1
🐍 Which Python version are you using?
3.10
📦 Installed packages
The text was updated successfully, but these errors were encountered: