core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change
on this file since 95ce773 was
170ea69,
checked in by krzywon, 9 years ago
|
Resolving path issues with SESANS script
|
-
Property mode set to
100755
|
File size:
454 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | # Need to fix the paths to sasmodels and sasview if no eggs present |
---|
4 | echo $PWD |
---|
5 | ONEUP="$(dirname "$PWD")" |
---|
6 | PROJECTS="$(dirname "$ONEUP")" |
---|
7 | CCOLON="C:/" |
---|
8 | CSLASH="/c/" |
---|
9 | SASMODELSBASE=$PROJECTS/sasmodels/ |
---|
10 | SASMODELS="${SASMODELSBASE/$CSLASH/$CCOLON}" |
---|
11 | SASVIEWBASE=$PROJECTS/sasview/src/ |
---|
12 | SASVIEW="${SASVIEWBASE/$CSLASH/$CCOLON}" |
---|
13 | PYTHONPATH="$SASVIEW;$SASMODELS" |
---|
14 | export PYOPENCL_CTX PYTHONPATH |
---|
15 | |
---|
16 | echo PYTHONPATH=$PYTHONPATH |
---|
17 | set -x |
---|
18 | |
---|
19 | python -m bumps.cli $* |
---|
Note: See
TracBrowser
for help on using the repository browser.