Skip to content

Fix Resource Limit Error in pose_align.py#60

Open
smartinezbragado wants to merge 2 commits intoTMElyralab:mainfrom
smartinezbragado:main
Open

Fix Resource Limit Error in pose_align.py#60
smartinezbragado wants to merge 2 commits intoTMElyralab:mainfrom
smartinezbragado:main

Conversation

@smartinezbragado
Copy link

This merge request addresses an issue with setting the resource limits for the number of open files in pose_align.py. The previous implementation attempted to set the soft limit to a value that could exceed the maximum allowed limit, resulting in a ValueError.

Changes made:

  • Adjusted the soft_limit and hard_limit values to ensure they do not exceed the maximum allowed limits.
  • Added a check to set the new limits within the allowed range.

This fix ensures that the script runs without encountering the ValueError related to resource limits.

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.

1 participant