source: sasmodels/example/sesansfit.sh @ 89ab393

core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since 89ab393 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
4echo $PWD
5ONEUP="$(dirname "$PWD")"
6PROJECTS="$(dirname "$ONEUP")"
7CCOLON="C:/"
8CSLASH="/c/"
9SASMODELSBASE=$PROJECTS/sasmodels/
10SASMODELS="${SASMODELSBASE/$CSLASH/$CCOLON}"
11SASVIEWBASE=$PROJECTS/sasview/src/
12SASVIEW="${SASVIEWBASE/$CSLASH/$CCOLON}"
13PYTHONPATH="$SASVIEW;$SASMODELS"
14export PYOPENCL_CTX PYTHONPATH
15
16echo PYTHONPATH=$PYTHONPATH
17set -x
18
19python -m bumps.cli $*
Note: See TracBrowser for help on using the repository browser.