#
#     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 import
#CCP4I DATE  25/06/97 16:05:30
#CCP4I USER lizp

INPUT_FILES		_list_of_text	HKL_INPUT_FILE
OUTPUT_FILES		_list_of_text	HKLOUT

MTZ_INPUT_FILE 		_MTZ_file 	""
HKL_INPUT_FILE 		_hkl_file 	""
TNT_INPUT_FILE		_hkl_file	""
CIF_INPUT_FILE		_CIF_file	""
DIR_HKL_INPUT_FILE 	_default_dirs 	""
DIR_TNT_INPUT_FILE 	_default_dirs 	""
DIR_MTZ_INPUT_FILE 	_default_dirs 	""
DIR_CIF_INPUT_FILE 	_default_dirs 	""
HKLOUT 			_MTZ_file 	""
DIR_HKLOUT		_default_dirs	""

FORMAT 		_imprfx_format 	"MTZ"
FORTRAN_FORMAT 	_text 		""
SKIPLINE 	_positiveint 		0
TITLE 		_title_text 		""
SPACE_GROUP     _space_group		""
CELL_1 		_positivereal 		""
CELL_2 		_positivereal 		""
CELL_3		_positivereal 		""
CELL_4 		_positivereal 		""
CELL_5 		_positivereal 		""
CELL_6 		_positivereal 		""
NCOL 		_column_name_lines	6
COLUMN_NAME,0   _column_name		H
COLUMN_NAME,1   _column_name		H
COLUMN_NAME,2   _column_name		K
COLUMN_NAME,3   _column_name		L
COLUMN_NAME,4   _column_name		FP
COLUMN_NAME,5   _column_name		SIGFP
COLUMN_NAME,6   _column_name		FreeRflag
COL_TYPE,0	_MTZ_data_type_names	H
COL_TYPE,1	_MTZ_data_type_names	H
COL_TYPE,2	_MTZ_data_type_names	H
COL_TYPE,3	_MTZ_data_type_names	H
COL_TYPE,4	_MTZ_data_type_names	F
COL_TYPE,5	_MTZ_data_type_names	Q
COL_TYPE,6	_MTZ_data_type_names	I
LABOUT		_text			""
CTYPOUT		_text		 	""

IMPORT_TRUNCATE_PROG  _import_truncate_prog   "CTRUNCATE"

RUN_TRUNCATE 		_logical 	0
IMEANIN			_text		"I"
SIGIMEANIN		_text		"SIGI"
CONTENTS_MODE           _text                   NRES
CONTENTS_NRES           _positiveint            ""
APPLY_TRUNCATE          _truncate_method        WILSON
RANGE_MODE              _truncate_range_mode    default
RANGE_NUMBER            _positiveint            60
RANGE_WIDTH             _real                   ""
CONTENTS_USE_VPAT       _logical                0
CONTENTS_VPAT           _positivereal           10.0
SCALE_RESOLUTION        _logical                0
SCALE_RESOLUTION_MIN    _positivereal           4.0
SCALE_RESOLUTION_MAX    _positivereal           ""
CONTENTS_MODE           _truncate_content_mode  NRES
CONTENTS_NRES           _positiveint            ""
CONTENTS_PDB            _pdb_file               ""
DIR_CONTENTS_PDB        _default_dirs           ""
N_CONTENTS              _positiveint            0
CONTENTS_ATOM_TYPE,0    _text                   ""
CONTENTS_ATOM_COUNT,0   _positiveint            ""
FALLOFF			_logical		1

RUN_UNIQUE 		_logical 	1
ANOMALOUS               _logical        1
UNIQUE_INPUT 		_MTZ_file 	""
UNIQUE_OUT 		_MTZ_file 	""
FREER_MODE 		_freer_mode	2
LABIN_FREER 		_mtz_label_freer ""
LABIN_FREER_1 		_text	 	"FreeRflag"
FREER_FRACTION 		_fraction 	0.05
IMPORT_FREER_LABIN	_mtz_label_freer ""
IMPORT_FREER_MTZ	_MTZ_file	""
DIR_IMPORT_FREER_MTZ	_default_dirs	""
INCL_SYS_ABS 		_logical	""
EXTEND_RESOLUTION	_logical	0
RESOLUTION_MAX		_positivereal	""

CHECKHKL		_logical	0

@ [FileJoin [GetEnvPath CCP4I_TOP] tasks harvest.def]
