*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
Dear Patrick,
setenv is not a bash built-in command so lines like setenv HKLOUT
${crystal}.mtz should be export HKLOUT=${crystal}.mtz.
Another solution would be to define setenv in your bash script by adding
a similar to setenv () { export $1="$2" ; } near the top.
Or replace #!/bin/bash with #!/bin/csh
Kind regards,
Alain
Patrick G. Shaw wrote:
...
I have been trying to run a script in Mosflm and i get the error:
./mosflm_scrpt_hires50.com: line 16: setenv: command not found
./mosflm_scrpt_hires50.com: line 17: setenv: command not found
etc
The script worked fine on an older version of mosflm (don't know which one) but
doesn't seem to work with my current installation of 6.2.5.
If anyone knows what might be wrong with this script or where I might find a
template for a more modern one I'd be much ablidged.
Patrick
here is the script:
#!/bin/bash
# modify the lines following 'CHANGES' and start this shell from the
# command prompt by typing 'index' followed by a return
#
# after you found your unit cell and space group, please refine yor cell
# and at the end update the 'mosaic', 'beam' and 'distance' parameters
# in this file
#
#
#CHANGE name of data set = IMAGE ROOT
#
set crystal = cd16_AS2_3
#
#
#
setenv HKLOUT ${crystal}.mtz
setenv SPOTOD ${crystal}.spotod
setenv SUMMARY ${crystal}.sum
setenv COORDS ${crystal}.coor
setenv GENFILE ${crystal}.gen
...