Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotan committed Sep 11, 2024
1 parent f393695 commit 222f0aa
Show file tree
Hide file tree
Showing 9 changed files with 1,705 additions and 2,238 deletions.
78 changes: 39 additions & 39 deletions man/nxscollect.1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "NXSCOLLECT" "1" "Sep 05, 2024" "4.14" "NXSTools"
.TH "NXSCOLLECT" "1" "Sep 11, 2024" "4.15" "NXSTools"
.SH NAME
nxscollect \- upload external images into NeXus/HDF5 file
.SH DESCRIPTION
Expand Down Expand Up @@ -66,7 +66,7 @@ show this help message and exit
.TP
.BI \-c \ COMPRESSION\fR,\fB \ \-\-compression \ COMPRESSION
deflate compression rate from 0 to 9 (default: 2) or
<filterid>:opt1,opt2,... e.g. \-c 32008:0,2 for
<filterid>:opt1,opt2, e.g. \-c 32008:0,2 for
bitshuffle with lz4
.TP
.BI \-p \ PATH\fR,\fB \ \-\-path \ PATH
Expand All @@ -75,18 +75,18 @@ nexus path for the output field, e.g.
.TP
.BI \-i \ INPUTFILES\fR,\fB \ \-\-input_files \ INPUTFILES
input data files defined with a pattern or separated
by \(aq,\(aq e.g.\(aqscan_%05d.tif:0:100\(aq
by ‘,’ e.g.’scan_%05d.tif:0:100
.TP
.BI \-\-separator \ SEPARATOR
input data files separator (default: \(aq,\(aq)
input data files separator (default: ‘,’)
.TP
.BI \-\-dtype \ DATATYPE
datatype of input data \- only for raw data, e.g.
\(aquint8\(aq
‘uint8’
.TP
.BI \-\-shape \ SHAPE
shape of input data \- only for raw data, e.g.
\(aq[4096,2048]\(aq
[4096,2048]
.TP
.B \-s\fP,\fB \-\-skip_missing
skip missing files
Expand Down Expand Up @@ -209,99 +209,99 @@ Options:
show this help message and exit
.TP
.BI \-t \ DTYPE\fR,\fB \ \-\-dtype \ DTYPE
datatype of the VDS field, e.g. \(aquint8\(aq
datatype of the VDS field, e.g. ‘uint8’
.TP
.BI \-s \ SHAPE\fR,\fB \ \-\-shape \ SHAPE
shape of the VDS field, e.g. \(aq[U,4096,2048]\(aq or
U,4096,2048 where U means span along the field\(aq
shape of the VDS field, e.g. [U,4096,2048] or
U,4096,2048 where U means span along the field
.TP
.BI \-f \ FILLVALUE\fR,\fB \ \-\-fill\-value \ FILLVALUE
fill value for the gaps, default is 0
.TP
.BI \-e \ TARGETFIELDS\fR,\fB \ \-\-target\-fields \ TARGETFIELDS
external fields with their NeXus file paths defined
with a pattern or separated by \(aq,\(aq
e.g.\(aqscan_123/lambda_%05d.nxs://entry/data/\fI\%data:0:3\fP\(aq
with a pattern or separated by ‘,’
e.g.’scan_123/lambda_%05d.nxs://entry/data/\fI\%data:0:3\fP
.TP
.BI \-\-separator \ SEPARATOR
input data files separator (default: \(aq,\(aq)
input data files separator (default: ‘,’)
.TP
.BI \-p \ SHAPES\fR,\fB \ \-\-shapes \ SHAPES
shapes in the VDS layout hyperslab for the
corresponding target fields with coordinates sepatated
by \(aq,\(aq and different fields separated by \(aq;\(aq, \(aq:\(aq or
spaces e.g.\(aq,,;,300,;,600,0\(aq where an empty coordinate
by ‘,’ and different fields separated by ‘;’, ‘:’ or
spaces e.g.,,;,300,;,600,0 where an empty coordinate
means 0
.TP
.BI \-o \ OFFSETS\fR,\fB \ \-\-offsets \ OFFSETS
offsets in the VDS layout hyperslab for the
corresponding target fields with coordinates sepatated
by \(aq,\(aq and different fields separated by \(aq;\(aq, \(aq:\(aq or
spaces e.g.\(aq,,;,300,;,600,0\(aq where an empty coordinate
by ‘,’ and different fields separated by ‘;’, ‘:’ or
spaces e.g.,,;,300,;,600,0 where an empty coordinate
means 0
.TP
.BI \-b \ BLOCKS\fR,\fB \ \-\-blocks \ BLOCKS
block sizes in the VDS layout hyperslab for the
corresponding target fields with coordinates sepatated
by \(aq,\(aq and different fields separated by \(aq;\(aq, \(aq:\(aq or
spaces e.g. \(aq,256,512;,256,512;,256,512\(aq where an
by ‘,’ and different fields separated by ‘;’, ‘:’ or
spaces e.g. ,256,512;,256,512;,256,512 where an
empty coordinate means 1
.TP
.BI \-c \ COUNTS\fR,\fB \ \-\-counts \ COUNTS
count numbers in the VDS layout hyperslabfor the
corresponding target fields with coordinates sepatated
by \(aq,\(aq and different fields separated by \(aq;\(aq, \(aq:\(aq or
spaces e.g. \(aq,1,1;,1,1;,1,1\(aq where an empty coordinate
by ‘,’ and different fields separated by ‘;’, ‘:’ or
spaces e.g. ,1,1;,1,1;,1,1 where an empty coordinate
means span along the layout
.TP
.BI \-d \ STRIDES\fR,\fB \ \-\-strides \ STRIDES
stride sizes in the VDS layout hyperslabfor the
corresponding target fields with coordinates sepatated
by \(aq,\(aq and different fields separated by \(aq;\(aq, \(aq:\(aq or
spaces e.g. \(aq,,;,,;,,\(aq where an empty coordinate means
by ‘,’ and different fields separated by ‘;’, ‘:’ or
spaces e.g. ,,;,,;,, where an empty coordinate means
1
.TP
.BI \-l \ SLICES\fR,\fB \ \-\-slices \ SLICES
mapping slices in the VDS layoutfor the corresponding
target fields with coordinates sepatated by \(aq,\(aq and
different fields separated by \(aq;\(aq or spaces e.g.
\(aq:,0:50,: :,50:100,:\(aq where U means span along the
target fields with coordinates sepatated by ‘,’ and
different fields separated by ‘;’ or spaces e.g.
:,0:50,: :,50:100,: where U means span along the
layout
.TP
.BI \-P \ TARGETSHAPES\fR,\fB \ \-\-target\-shapes \ TARGETSHAPES
field shapes with coordinates sepatated by \(aq,\(aq and
different fields separated by \(aq;\(aq, \(aq:\(aq or spaces
e.g.\(aq,,;,300,;,600,0\(aq
field shapes with coordinates sepatated by ‘,’ and
different fields separated by ‘;’, ‘:’ or spaces
e.g.,,;,300,;,600,0
.TP
.BI \-O \ TARGETOFFSETS\fR,\fB \ \-\-target\-offsets \ TARGETOFFSETS
offsets in the view hyperslab of target fieldswith
coordinates sepatated by \(aq,\(aq and different fields
separated by \(aq;\(aq, \(aq:\(aq or spaces e.g.\(aq,,;,300,;,600,0\(aq
coordinates sepatated by ‘,’ and different fields
separated by ‘;’, ‘:’ or spaces e.g.,,;,300,;,600,0
where an empty coordinate means 0
.TP
.BI \-B \ TARGETBLOCKS\fR,\fB \ \-\-target\-blocks \ TARGETBLOCKS
block sizes in the view hyperslab of target fields
with coordinates sepatated by \(aq,\(aq and different fields
separated by \(aq;\(aq, \(aq:\(aq or spaces e.g.
\(aq,256,512;,256,512;,256,512\(aq where an empty coordinate
with coordinates sepatated by ‘,’ and different fields
separated by ‘;’, ‘:’ or spaces e.g.
,256,512;,256,512;,256,512 where an empty coordinate
means 1
.TP
.BI \-C \ TARGETCOUNTS\fR,\fB \ \-\-target\-counts \ TARGETCOUNTS
count numbers in the view hyperslab of target fields
with coordinates sepatated by \(aq,\(aq and different fields
separated by \(aq;\(aq, \(aq:\(aq or spaces e.g. \(aq,1,1;,1,1;,1,1\(aq
with coordinates sepatated by ‘,’ and different fields
separated by ‘;’, ‘:’ or spaces e.g. ,1,1;,1,1;,1,1
where an empty coordinate means span along the layout
.TP
.BI \-D \ TARGETSTRIDES\fR,\fB \ \-\-target\-strides \ TARGETSTRIDES
stride sizes numbers in the view hyperslab of target
fields with coordinates sepatated by \(aq,\(aq and different
fields separated by \(aq;\(aq, \(aq:\(aq or spaces e.g. \(aq,,;,,;,,\(aq
fields with coordinates sepatated by ‘,’ and different
fields separated by ‘;’, ‘:’ or spaces e.g. ,,;,,;,,
where an empty coordinate means 1
.TP
.BI \-L \ TARGETSLICES\fR,\fB \ \-\-target\-slices \ TARGETSLICES
view slices of target fields with coordinates
sepatated by \(aq,\(aq and different fields separated by \(aq;\(aq
or spaces e.g. \(aq:,0:50,: :,0:50,:\(aq where U means span
sepatated by ‘,’ and different fields separated by ‘;’
or spaces e.g. :,0:50,: :,0:50,: where U means span
along the layout
.TP
.B \-r\fP,\fB \-\-replace\-nexus\-file
Expand Down
40 changes: 20 additions & 20 deletions man/nxsconfig.1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "NXSCONFIG" "1" "Sep 05, 2024" "4.14" "NXSTools"
.TH "NXSCONFIG" "1" "Sep 11, 2024" "4.15" "NXSTools"
.SH NAME
nxsconfig \- read NeXus Configuration Server settings
.SH DESCRIPTION
Expand Down Expand Up @@ -62,43 +62,43 @@ list names of available datasources
.B list \-r [\-s <config_server>] [\-n]
list names of available profiles
.TP
.B show [\-s <config_server>] [\-m] [\-o <dir>] component_name1 component_name2 ...
.B show [\-s <config_server>] [\-m] [\-o <dir>] component_name1 component_name2
show components with given names
.TP
.B show \-d [\-s <config_server>] [\-o <dir>] dsource_name1 dsource_name2 ...
.B show \-d [\-s <config_server>] [\-o <dir>] dsource_name1 dsource_name2
show datasources with given names
.TP
.B show \-r [\-s <config_server>] [\-o <dir>] profile_name1 profile_name2 ...
.B show \-r [\-s <config_server>] [\-o <dir>] profile_name1 profile_name2
show profiles with given names
.TP
.B upload [\-s <config_server>] [\-m] [\-i <dir>] [\-f] component_name1 component_name2 ...
.B upload [\-s <config_server>] [\-m] [\-i <dir>] [\-f] component_name1 component_name2
load components from given files
.TP
.B upload \-d [\-s <config_server>] [\-i <dir>] [\-f] dsource_name1 dsource_name2 ...
.B upload \-d [\-s <config_server>] [\-i <dir>] [\-f] dsource_name1 dsource_name2
load datasources from given files
.TP
.B upload \-r [\-s <config_server>] [\-i <dir>] [\-f] profile_name1 profile_name2 ...
.B upload \-r [\-s <config_server>] [\-i <dir>] [\-f] profile_name1 profile_name2
load profiles from given files
.TP
.B get [\-s <config_server>] [\-n] component_name1 component_name2 ...
.B get [\-s <config_server>] [\-n] component_name1 component_name2
get merged configuration of components
.TP
.B delete [\-s <config_server>] [\-f] component_name1 component_name2 ...
.B delete [\-s <config_server>] [\-f] component_name1 component_name2
delete components with given names
.TP
.B delete \-d [\-s <config_server>] [\-f] dsource_name1 dsource_name2 ...
.B delete \-d [\-s <config_server>] [\-f] dsource_name1 dsource_name2
delete datasources with given names
.TP
.B delete \-r [\-s <config_server>] [\-f] profile_name1 profile_name2 ...
.B delete \-r [\-s <config_server>] [\-f] profile_name1 profile_name2
delete profiles with given names
.TP
.B sources [\-s <config_server>] [\-m] [\-n] component_name1 component_name2 ...
.B sources [\-s <config_server>] [\-m] [\-n] component_name1 component_name2
get a list of component datasources
.TP
.B components [\-s <config_server>] [\-n] component_name1 component_name2 ...
.B components [\-s <config_server>] [\-n] component_name1 component_name2
get a list of dependent components
.TP
.B variables [\-s <config_server>] [\-m] [\-n] component_name1 component_name2 ...
.B variables [\-s <config_server>] [\-m] [\-n] component_name1 component_name2
get a list of component variables
.TP
.B data [\-s <config_server>] json_data
Expand All @@ -113,19 +113,19 @@ get a list of datasource record names
.B servers [\-s <config_server/host>] [\-n]
get lists of configuration servers from the current tango host
.TP
.B describe [\-s <config_server>] [\-m | \-p] [\-n] component_name1 component_name2 ...
.B describe [\-s <config_server>] [\-m | \-p] [\-n] component_name1 component_name2
show all parameters of given components
.TP
.B describe|info \-d [\-s <config_server>] [\-n] dsource_name1 dsource_name2 ...
.B describe|info \-d [\-s <config_server>] [\-n] dsource_name1 dsource_name2
show all parameters of given datasources
.TP
.B info [\-s <config_server>] [\-m | \-p] [\-n] component_name1 component_name2 ...
.B info [\-s <config_server>] [\-m | \-p] [\-n] component_name1 component_name2
show source parameters of given components
.TP
.B info \-r [\-s <config_server>] [\-n] profile_name1 profile_name2 ...
.B info \-r [\-s <config_server>] [\-n] profile_name1 profile_name2
show general parameters of given profiles
.TP
.B geometry [\-s <config_server>] [\-m | \-p] [\-n] component_name1 component_name2 ...
.B geometry [\-s <config_server>] [\-m | \-p] [\-n] component_name1 component_name2
show transformation parameters of given components
.UNINDENT
.TP
Expand All @@ -145,7 +145,7 @@ perform operation on datasources
make use mandatory components as well
.TP
.B \-p\fP,\fB \-\-private
make use private components, i.e. starting with \(aq__\(aq
make use private components, i.e. starting with ‘__’
.TP
.B \-n\fP,\fB \-\-no\-newlines
split result with space characters
Expand Down
Loading

0 comments on commit 222f0aa

Please sign in to comment.