#
#     Copyright (C) 1999-2004  Liz Potterton, Peter Briggs
#
#     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.2
#CCP4I SCRIPT DEF sftools
#CCP4I DATE  25/06/97 16:05:30
#CCP4I USER pjx

TITLE		_title_text		""

INPUT_FILES     _list_of_text              HKLIN
OUTPUT_FILES    _list_of_text              HKLOUT

HKLIN           _MTZ_file                  ""
DIR_HKLIN       _default_dirs              ""
HKLOUT          _MTZ_file                  ""
DIR_HKLOUT      _default_dirs              ""

FORMAT_IN       _sftools_format            "CCP4 (mtz)"
FORMAT_OUT      _sftools_format            "CCP4 (mtz)"

SF_ACTION       _sftools_action            SET
ASYM_UNIT       _sftools_asunit            "CCP4"

SORT_ON         _sftools_sort_on           HKL
DIRECTION       _sftools_direction         "ascending"

SORT_INDICES    _sftools_sort_indices      "HKL"
SORT_COL        _text                      "1"
SORT_LABEL      _mtz_label                 ""

SPACEGROUP_EXP  _space_group               "P1"
EXPAND_SPACEGP_NUM	_space_group	""

I_1             _int                       1
I_2             _int                       0
I_3             _int                       0
I_4             _int                       0
I_5             _int                       1
I_6             _int                       0
I_7             _int                       0
I_8             _int                       0
I_9             _int                       1

MERGE_MODE      _sftools_merge_mode        "only when safe"

PURGE_MODE	_sftools_purge_mode	   Keep

SET_NEW_CELL    _logical                   0
SET_NEW_WAVE    _logical                   0
NEW_SPACEGROUP  _text                      "P1"
CELL_A          _cell_length               ""
CELL_B          _cell_length               ""
CELL_C          _cell_length               ""
CELL_ALPHA      _cell_angle                ""
CELL_BETA       _cell_angle                ""
CELL_GAMMA      _cell_angle                ""
N_XNAME			_positiveint		0
N_DNAME			_positiveint		0
DNAME,0			_mtz_datasetname	""
DNAME,1			_mtz_datasetname	""
XNAME,0			_mtz_crystalname	""
XNAME,1			_mtz_crystalname	""
DXNAME,0		_mtz_crystalname	""
DXNAME,1		_mtz_crystalname	""
DCELL_1,0               _cell_length            ""
DCELL_1,1               _cell_length            ""
DCELL_2,0               _cell_length            ""
DCELL_2,1               _cell_length            ""
DCELL_3,0               _cell_length            ""
DCELL_3,1               _cell_length            ""
DCELL_4,0               _cell_angle             ""
DCELL_4,1               _cell_angle             ""
DCELL_5,0               _cell_angle             ""
DCELL_5,1               _cell_angle             ""
DCELL_6,0               _cell_angle             ""
DCELL_6,1               _cell_angle             ""
DWAVE,0			_positivereal     	""
DWAVE,1			_positivereal     	""

NTITLES         _positiveint               0
TITLE_CARD,0    _title_text                ""

NLABIN          _positiveint               0
LABIN,0         _mtz_label                 "Unassigned"
LABOUT,0        _mtz_label_out             ""
CTYPIN,0        _MTZ_data_type_names       "structure amplitude F"

NCOLS_DEL       _positiveint               0
DEL_COL_LABEL,0 _text                      ""
DEL_MTZ_LABEL,0 _mtz_label                 "Unassigned"

HL_MTZ_PHASE    _mtz_label_phi             "Unassigned"
HL_MTZ_FOM      _mtz_label_w               "Unassigned"
HL_PHASE_COL    _text                      ""
HL_FOM_COL      _text                      ""

N_TNT_COL       _sftools_tnt_cols          "2"
TNT_MTZ_1       _mtz_label_f               "Unassigned"
TNT_MTZ_2       _mtz_label_sig             "Unassigned"
TNT_MTZ_3       _mtz_label_i               "Unassigned"
TNT_MTZ_4       _mtz_label_phi             "Unassigned"
TNT_MTZ_5       _mtz_label_w               "Unassigned"
TNT_COL_1       _text                      "1"
TNT_COL_2       _text                      "2"
TNT_COL_3       _text                      "3"
TNT_COL_4       _text                      "4"
TNT_COL_5       _text                      "5"

FPLUS           _mtz_label_g               ""
SIGFPLUS        _mtz_label_l               ""
FMINUS          _mtz_label_g               ""
SIGFMINUS       _mtz_label_l               ""
DANO            _text                      "DANO"
SIGDANO         _text                      "SIGDANO"
