Another attempt to parametrize RECIPE_DIR
@@ -44,11 +44,10 @@ test:
imports:
- edrixs
files:
- - {{ os.environ.get('RECIPE_DIR', '.') }}/example_2_AIM_XAS.py
+ - {{ environ["RECIPE_DIR"] }}/example_2_AIM_XAS.py
commands:
- - cp -v {{ os.environ.get('RECIPE_DIR', '.') }}/example_2_AIM_XAS.py .
- - python example_2_AIM_XAS.py
- - mpiexec -n 2 python example_2_AIM_XAS.py
+ - python {{ environ["RECIPE_DIR"] }}/example_2_AIM_XAS.py
+ - mpiexec -n 2 python {{ environ["RECIPE_DIR"] }}/example_2_AIM_XAS.py
about:
home: https://github.com/NSLS-II/edrixs
