I changed
character :: string*132,frmnam*103,form*6='(i0.0)'
to
character :: string*550,frmnam*512,form*6='(i0.0)'
and recompiled.
Now, it generates adx files with .adx extension.
It generates only 5~56 .adx files from 1~60 .img files, but I think that this
is because my
Hi Doo Nam,
the reason for the failure is that your frame names are longer than the program
expects: the frame names should not have more than 103 characters, but your
names are longer. This results in truncation.
If you change the code
character :: string*132,frmnam*103,form*6='(i0.0)'
Hi Doo Nam,
it seems that your frames do not have an extension (like .cbf or .img or.xyz).
Maybe this is related
to the fact that the program does not properly add the extension .adx ? It is
puzzling for me since
I made an attempt to take this possibility into account:
if
Yes, lack of extension is the only remaining problem.
Although I automatically added extension by python, your link seems useful as
well.
I'm not sure about opening adx files in linux,
but when I ran generate_adx in linux, and opened adx files by adxv in macOS,
the adxv said
Loading
If the only problem remaining is the extension of the adx files you can use
`rename` to change the extension of all your files (look here
https://www.howtogeek.com/423214/how-to-use-the-rename-command-on-linux/).
But I think in linux we don't need file extensions.
El mar, 20 de jul. de 2021
Kay's program makes a system call to grep so I think it needs to be run on a
unix/linux/X machine or virtual machine or to have grep installed on windows,
which looks possible.
Good luck, Jon.C.
Sent from ProtonMail mobile
Original Message
On 20 Jul 2021, 23:36, Murpholino
1) Are you using the latest beta version of adxv?
2) Load the adx file (yes it is an ASCII text file...one for every
diffraction image in your working directory) and load also the diffraction
image. I also saw the white background after loading the adx file, but
after loading the image I got the
Dear Doo Nam Kim,
I just followed the instructions at the link provided
! gfortran -O -C generate_adx.f90 -o generate_adx
! Then move the resulting binary to /usr/local/bin or ~/bin
! Usage: go to the directory which has XDS_ASCII.HKL and run generate_adx
So you run it, and then open adxv,
Dear all,
Can I have a working Fortran code for generate_adx?
I copied the code from
https://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/Generate_adx
There are some different lines (than original in website), so I manually
corrected and then compiled.
However, generated output files