improved instructions
This commit is contained in:
@@ -6,8 +6,27 @@
|
|||||||
# aim
|
# aim
|
||||||
to make an mtz from an hkl file output from partialator or process_hkl
|
to make an mtz from an hkl file output from partialator or process_hkl
|
||||||
|
|
||||||
# usage
|
# usage to make mtz from manually entered lengths and angles
|
||||||
python make_mtz.py
|
python make_mtz.py -i <path to .hkl file from partialator>
|
||||||
|
-o name of .mtz file
|
||||||
|
-p project name in mtz
|
||||||
|
-x xtal name in mtz
|
||||||
|
-d dataset name in mtz
|
||||||
|
-g spacegroup
|
||||||
|
-c list of cell lengths and angles to use - 59.3,59.3,153.1,90.0,90.0,90.0
|
||||||
|
|
||||||
|
# usage to make mtz from the mean angles and lengths in stream file
|
||||||
|
python make_mtz.py -i <path to .hkl file from partialator>
|
||||||
|
-o name of .mtz file
|
||||||
|
-p project name in mtz
|
||||||
|
-x xtal name in mtz
|
||||||
|
-d dataset name in mtz
|
||||||
|
-g spacegroup
|
||||||
|
-s <path to stream file>
|
||||||
|
-u True
|
||||||
|
|
||||||
|
# usage to get list of mean lengths and angles from stream files
|
||||||
|
python make_mtz.py -s <path to stream file>
|
||||||
|
|
||||||
# output
|
# output
|
||||||
- .mtz file
|
- .mtz file
|
||||||
@@ -128,19 +147,7 @@ if __name__ == "__main__":
|
|||||||
"-o",
|
"-o",
|
||||||
"--mtzout",
|
"--mtzout",
|
||||||
help="name of mtz out file. The default will by the hklin with .mtz appended",
|
help="name of mtz out file. The default will by the hklin with .mtz appended",
|
||||||
type=str,
|
type=str
|
||||||
)
|
|
||||||
parser.add_argument(
|
|
||||||
"-c",
|
|
||||||
"--cell",
|
|
||||||
help="list of complete cell length and angles, e.g. 59.3,59.3,153.1,90.0,90.0,90.0. They all should be floats",
|
|
||||||
type=list_of_floats
|
|
||||||
)
|
|
||||||
parser.add_argument(
|
|
||||||
"-s",
|
|
||||||
"--stream_file",
|
|
||||||
help="this will simply output the mean unit cell for the subsequent make_mtz run",
|
|
||||||
type=os.path.abspath,
|
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-p",
|
"-p",
|
||||||
@@ -169,6 +176,18 @@ if __name__ == "__main__":
|
|||||||
help="spacegroup for making mtz, e.g P41212",
|
help="spacegroup for making mtz, e.g P41212",
|
||||||
type=str
|
type=str
|
||||||
)
|
)
|
||||||
|
parser.add_argument(
|
||||||
|
"-c",
|
||||||
|
"--cell",
|
||||||
|
help="list of complete cell length and angles, e.g. 59.3,59.3,153.1,90.0,90.0,90.0. They all should be floats",
|
||||||
|
type=list_of_floats
|
||||||
|
)
|
||||||
|
parser.add_argument(
|
||||||
|
"-s",
|
||||||
|
"--stream_file",
|
||||||
|
help="this will simply output the mean unit cell for the subsequent make_mtz run",
|
||||||
|
type=os.path.abspath,
|
||||||
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-u",
|
"-u",
|
||||||
"--use_stream",
|
"--use_stream",
|
||||||
|
|||||||
Reference in New Issue
Block a user