Comments (5)
An alternative approach is to define environment variables via JSON and put those variables into your script, which is then run through the pipe transformer.
Here's an example,
I have never used the environment variable feature in glow. Probably because I hit the same limitations you describe above!
from glow.
The snake-case parsing of arguments makes it impossible to pass uppercase environment variables, right?
E.g. env_TEST
would get translated to t_e_s_t
.
Interestingly, passing env_test_path='asdf'
results in an environment variable test_path="asdf"
.
So actually there is no need to parse them as snake-case.
from glow.
Ah, OK, I did not think of that solution 😁
from glow.
will keep the issue open for now until this is properly documented
should delete those environment variable options from the docs, they are somewhat confusing
from glow.
updating the example in the docs to avoid this issue in future:
from glow.
Related Issues (20)
- Docker build.sh script is not current in tagged release HOT 1
- Ask: add glow to chocolatey HOT 4
- VCF Infinity/NaN values are not handled according to VCF spec
- PySpark 3.3 support HOT 8
- Load glow mave package from Python HOT 5
- spark.read.format("vcf").load() fails for vcf.bgz files HOT 3
- Cannot write INFO fields with LongType to VCF HOT 2
- Python tests fail with KeyError: '_glow_regression_values' HOT 1
- Logistic regression ValueError: Null fit failed! HOT 2
- AnalysisException: Column 'num_workers' does not exist. HOT 1
- pipe transformer support for file input/output for command line apps HOT 2
- Interaction Tests with GLOW HOT 1
- Spark version upgrade 3.4, 3.3 HOT 5
- Cannot install+use the python glow package any more HOT 2
- Regular updates to work with cloud providers HOT 1
- Problem importing Glow HOT 3
- glow.normalize_variant fails with NullPointerException in NormalizeVariantExpr.scala:55 HOT 4
- Unexpected behaviour when using the SplitMultiallelics Transformer with unbounded INFO fields HOT 2
- import glow throws error: module 'numpy' has no attribute 'unicode'. Did you mean: 'unicode_'? HOT 2
- Feature Request: add regenie's gene-based testing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glow.