Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make available memory (RAM) output values numeric #492

Open
at88mph opened this issue Aug 4, 2023 · 1 comment
Open

Make available memory (RAM) output values numeric #492

at88mph opened this issue Aug 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@at88mph
Copy link
Member

at88mph commented Aug 4, 2023

They are currently quantified as Gigabytes with a "G" suffix:

{requestedRAM: "0G", ramAvailable: "0G", maxRAM: {ram: "0G", withCPUCores: 0}}

The Science Portal will do calculations to place a range widget on the screen, and needs to work in numbers. It would be much more useful to have:

{requestedRAMGB: 0, ramAvailableGB: 0, maxRAM: {ramGB: 0, withCPUCores: 0}}
@at88mph
Copy link
Member Author

at88mph commented Aug 9, 2023

The GSON output makes this difficult for the time being. I've closed the associated PR and the UI will just need to parse it.

@at88mph at88mph added the enhancement New feature or request label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant