RosettaCommons / tools

Tools for parsing Rosetta source code and scripts for running specific Rosetta applications.
Other
3 stars 1 forks source link

allow configuration of make_fragments.pl via environment variables #63

Closed decarboxy closed 6 years ago

decarboxy commented 6 years ago

There are a bunch of settings at the top of make_fragments.pl that are usually changed depending on the user environment. If you're running the script in a container, it's a lot easier to configure these parameters via environment variable rather than editing the file.

This PR checks for environment variables with the same names as the existing configuration options, and falls back to the hardcoded defaults if the variables are undefined.

smlewis commented 6 years ago

@aleaverfay verbally approved. go ahead and merge, I guess?