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

fix: read LSF_CONFIG_FILE if th user lacks permission to badmin #13

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thomas-reimonn
Copy link

Hi Brian!

Our lab has a bug fix / small feature we'd like to contribute to snakemake-executor-plugin-lsf. On our LSF cluster, users don't have access to badmin to raw LSF config. However, we can read a configuration file with the path in the env var LSF_CONFIG_FILE which appears to have the same results. We modified get_lsf_config to try badmin and if that fails, try reading the LSF_CONFIG_FILE. This also allows users to provide a new env var and a custom "config" if required.

Please let us know if you have any feedback. Thanks!

@thomas-reimonn thomas-reimonn changed the title Feature: read LSF_CONFIG_FILE if th user lacks permission to badmin fix: read LSF_CONFIG_FILE if th user lacks permission to badmin Aug 30, 2024
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.

2 participants