-
Notifications
You must be signed in to change notification settings - Fork 29
Kvec talks to isodistort #139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The routine
Note that |
As far as message box goes, I think you are referring to You can use GSASIIctrlGUI.ShowScrolledInfo, where you can control the size of the window (but it does wrap text that is too wide for the supplied width). It would not be that hard to add an option to ShowScrolledInfo to turn off text wrapping or perhaps a routine to create a window that scrolls and does not wrap. I don't think one would want to make the window expand to fit the text (in case the text is really long). |
Thanks a lot Brian for your comments! I will work further on this branch and I will let you know when the PR is ready for you to check again before merging into |
If you need any help, please ask |
Got the project generated successfully but it seems that the phase in the new generated project file is not changed. Not sure why. will keep working on this. |
Merge remote-tracking branch 'origin/main' into kvec_isodistort_zyp
I have made changes but was prepared to test them. I think this will now rename the phase properly in the data tree for the created .gpx files. Please let me know if there are any non-obvious bugs that I have created |
so that it is ready to merge into main as a FF
Hi @briantoby Just a quick update on this. I have been working on the tutorial concerning this PR. As I am working on this, I found something more on the implementation side to work on,
It may take some time longer than I was expecting, but I will try my best to do this as soon as I can. |
turns out I have a lot to work on...we can talk about this tomorrow and I will show you what the problem is and my intended solution (which needs a lot of work). |
@briantoby I just finished all the implementations regarding this PR, including,
I will need to do some testing and probably some debugging. I will then give you an update once the implementation turns out to be working fine. |
@briantoby Hi Brian, I believe the PR is ready to be merged. I finally debugged the communication to the new ISODISTORT server. I sent Branton and you an email about this. Basically, it is about the new interactive plot capability that was recently added in ISODISTORT -- when trying to make requests to the server, having the button there in the request would cause permission deny. Anyhow, given the current form of the PR, I did a local test and things are working as expected. Could you please help review the code to see whether you are happy with it? I already pulled in all the new commits from the Please feel free to let me know if you have any comments. Thanks a lot! |
I added in the capability to communicate with the
isodistort
server after the k-vector search in GSAS-II. Once we get the searched k-vector table, we can select either of the k vectors in the table and click on the button to talk toisodistort
.Currently, I am only outputting all the CIF files corresponding to all the isotropic subgroups associated with the selected k vector. The next step will be to incorporate those CIF files into independent GSAS-II project file, which I may need help from @briantoby
N.B. For the moment, I am outputting all the CIF files into
os.getpwd()
. Not sure whether this is the optimal solution.Also, after the output is done, I am having a message box saying the job is done and include the output path in the message box. However, it seems the path in the message box would be wrapped up and I don't know the way to control the message box window size so that the path can be displayed in a single line.
Here is the file that we can use for testing and further development.
Ba6Co6_nuc_refine.gpx.zip