Generate XDS.INP: Difference between revisions

Jump to navigation Jump to search
m
(One intermediate revision by the same user not shown)
Line 1,225: Line 1,225:


Ask your system adminstrator to cut-and-paste the script into e.g. /usr/local/bin/generate_XDS.INP, and to make it "executable".
Ask your system adminstrator to cut-and-paste the script into e.g. /usr/local/bin/generate_XDS.INP, and to make it "executable".
If you work with Eiger data, you may want to make a one-line change to the script after downloading, in order to point to the correct path on your system of the Dectris' Neggia library, or the Durin plugin, respectively. Just open the script with an editor and adjust neggia_path or durin_path ! This relieves users from having to change the LIB= line for every data set. You should also insert that path into the Menu / Settings / "generic library" in [[XDSGUI]] .


But you may also cut-and-paste the script from this webpage into a file in e.g. your home directory; the filename should be generate_XDS.INP. After creating the file, make it executable - e.g. if it's in your $HOME, use:
But you may also cut-and-paste the script from this webpage into a file in e.g. your home directory; the filename should be generate_XDS.INP. After creating the file, make it executable - e.g. if it's in your $HOME, use:
Line 1,260: Line 1,262:
</pre>
</pre>
If you do use cut-and-paste from the webpage, be aware of the following problem report: On the Mac, after loading frames, by clicking “generate XDS.INP”, the program gives some strange symbol “” in XDS.INP. And the more you click “save” button, the more “” appear. This looks like e.g. <br>SPACE_GROUP_NUMBER=0  ! 0 if unknown <br>UNIT_CELL_CONSTANTS= 70 80 90 90 90 90  <br> ''The problem is due to the “Rich text” format in TextEdit when saving "generate_XDS.INP". It is solved by re-downloading the script, and changing format to Plain - everything should work then.''
If you do use cut-and-paste from the webpage, be aware of the following problem report: On the Mac, after loading frames, by clicking “generate XDS.INP”, the program gives some strange symbol “” in XDS.INP. And the more you click “save” button, the more “” appear. This looks like e.g. <br>SPACE_GROUP_NUMBER=0  ! 0 if unknown <br>UNIT_CELL_CONSTANTS= 70 80 90 90 90 90  <br> ''The problem is due to the “Rich text” format in TextEdit when saving "generate_XDS.INP". It is solved by re-downloading the script, and changing format to Plain - everything should work then.''
Attention beamline staff: it would be great if you could make a one-line change to the script after downloading, in order to point to the correct path to Dectris' Neggia library, or the Durin plugin, respectively. Just open the script with an editor and adjust neggia_path or durin_path ! This relieves users from having to change the LIB= line for every data set.


== Calling generate_XDS.INP from a Python script ==
== Calling generate_XDS.INP from a Python script ==
2,652

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu