Skip to content

Fix introduced typo in partition information dictionary key. #241

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

Merged
merged 1 commit into from
Aug 8, 2022
Merged

Fix introduced typo in partition information dictionary key. #241

merged 1 commit into from
Aug 8, 2022

Conversation

jgoodson
Copy link
Contributor

@jgoodson jgoodson commented Aug 8, 2022

Commit ab9fc89 refactored Unicode strings to remove the u'' designator. It appears to have also inadvertently renamed the partition information dictionary key 'def_mem_per_cpu' to 'def_mem_per_cp', which breaks scripts utilizing this information. This commit just renames this key to the original name matching the Slurm information.

Copy link
Member

@giovtorres giovtorres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

Thank you for catching this!

@giovtorres giovtorres merged commit 4e61c8c into PySlurm:21.08 Aug 8, 2022
tazend pushed a commit that referenced this pull request Sep 9, 2022
* Fix introduced typo in partition information dictionary key. (#241)

* Added wait_finished method to job class (#240).

* Added test method for wait_finished method of the job class.

* Added _load_single_job method to the job class to extract the slurm_load_job functionality.

* Updated find_id and wait_finished to use _load_single_job.

Co-authored-by: Jonathan Goodson <jonathan.goodson@gmail.com>
tazend pushed a commit that referenced this pull request Sep 11, 2022
* Fix introduced typo in partition information dictionary key. (#241)

* Added wait_finished method to job class (#240).

* Added test method for wait_finished method of the job class.

* Added _load_single_job method to the job class to extract the slurm_load_job functionality.

* Updated find_id and wait_finished to use _load_single_job.

Co-authored-by: Jonathan Goodson <jonathan.goodson@gmail.com>
@jgoodson jgoodson deleted the 21.08 branch December 19, 2022 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants