2cbf: Difference between revisions

277 bytes added ,  18 January 2017
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
[http://xds.mpimf-heidelberg.mpg.de/html_doc/2cbf_program.html 2cbf] is part of the [[XDS]] distribution. It converts any image file format that is know to XDS to a miniCBF file. This program is also used by [[XDSGUI]].
[http://xds.mpimf-heidelberg.mpg.de/html_doc/2cbf_program.html 2cbf] is part of the [[XDS]] distribution. It converts any image file format that is know to XDS to a miniCBF file. This program is also used by [[XDSGUI]].


For 2cbf to work with the LIB= option, it is mandatory to have a filename like test_123456.xy, i.e. with a 6-digit number and a 2-letter extension. If you want to use LIB= and your filenames do not follow this pattern, just symlink them, and construct the symlinks accordingly.
For 2cbf to work with the http://xds.mpimf-heidelberg.mpg.de/html_doc/xds_parameters.html#LIB= LIB= option, it is mandatory to have a filename like test_123456.xy, i.e. with a 6-digit number and a 2-letter extension. If you want to use LIB= and your filenames do not follow this pattern, just symlink them, and construct the symlinks accordingly: e.g.
<pre>
#!/bin/bash
# purpose: create symlinks for xds_par
# usage: mklinks
 
for j in $(seq 1 120); do
  ln -sfn Data_02_$(printf "%04d" "$j").sfrm Data_02_$(printf "%06d" "$j").sf
done
 
echo ready
</pre>


If you don't do this, you'll get an error message like
If you don't do this, you'll get an error message like
2,652

edits