#
#     Copyright (C) 2014 David Waterman
#
#     This code is distributed under the terms and conditions of the
#     CCP4 Program Suite Licence Agreement as a CCP4 Library.
#     A copy of the CCP4 licence can be obtained by writing to the
#     CCP4 Secretary, Daresbury Laboratory, Warrington WA4 4AD, UK.
#
#CCP4i_cvs_Id $Id$
#CCP4I VERSION CCP4Interface 0.11
#CCP4I SCRIPT DEF blend
#CCP4I DATE  25/06/98 16:05:30
#CCP4I USER lizp

TITLE   _title_text      ""

INPUT_FILES     _list_of_text              ""
OUTPUT_FILES    _list_of_text              ""

#XYZOUT          _pdb_file                  ""
#DIR_XYZOUT      _default_dirs              ""

HKL_SOURCE      _text                      "none"
PREV_RUNDIR     _text                      "none"
BLEND_MODE      _blend_mode                "ANALYSIS"

SYN_LEVEL_TYPE  _syn_mode                  "WARD"
DEND_HEIGHT1    _positivereal              ""
DEND_HEIGHT2    _positivereal              ""

N_INC_DATASETS  _positiveint               1
INC_DATASETS,0  _positiveint               ""
N_EXC_DATASETS  _positiveint               1
EXC_DATASETS,0  _positiveint               ""
N_INC_CLUSTERS  _positiveint               1
INC_CLUSTERS,0  _positiveint               ""

DEND_ONLY       _logical                   0

# Group 1 keywords (for analysis)
SET_RADFRAC     _logical                   0
RADFRAC         _positivereal              0.75
SET_ISIGI       _logical                   0
ISIGI           _positivereal              1.5
USE_IDESC       _logical                   0
SET_LAUEGROUP   _logical                   0
LAUEGROUP       _text                      ""

# Group 2 keywords (for synthesis and combination modes, for pointless)
SET_DATAREF     _logical                   0
DATAREF         _positiveint               ""
SET_SPACEGROUP  _logical                   0
SPACEGROUP      _text                      ""
SET_TOLERANCE   _logical                   0
TOLERANCE       _positivereal              2.0

# Group 3 keywords (for synthesis and combination modes, for aimless)
SET_RESOLUTION  _logical                   0
LO_RES          _positivereal              ""
HI_RES          _positivereal              ""
SET_SCALES      _logical                   ""
SCALES          _text                      ""
SET_ANOMALOUS   _logical                   0
ANOMALOUS       _blend_anomalous_flag      "ON"
SET_EXC_BATCH   _logical                   0
EXC_BATCH       _text                      ""
SET_SDCORR      _logical                   0
SDCORR          _text                      ""

N_RUNS          _positiveint               1
RUNS,0          _positiveint               ""
RUN_BATCH_LO,0  _positiveint               ""
RUN_BATCH_HI,0  _positiveint               ""

# Graphics mode
GCLUSTER        _positiveint               ""
GLEVEL          _positiveint               ""
GRAPH_TYPE      _graph_mode                "ALCV"

# Special combination mode keywords
COMB_TYPE       _comb_mode                "SIMPLE"
SET_MAXC        _logical                   0
MAXC            _positiveint               5
SET_COMP        _logical                   0
COMP            _positivereal              95
SET_CUTF        _logical                   0
CUTF            _positivereal              0.5

# MAXC = cycle number
# CUTF: range {0,1}: 
# COMP = completeness
