-
Notifications
You must be signed in to change notification settings - Fork 4
_pd_diffractogram links to imgCIF #234
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
_pd_diffractogram links to imgCIF #234
Conversation
|
@rowlesmr, an unsolicited piece of advice. If you want to successfully run the DDLm checks, you will have to also update the .github/workflows/main.yml file to explicitly download the imgCIF file. However, even then I am unsure if the checks will pass as the automatic DDL2 -> DDLm conversion of the dictionary might have left some inconsistencies in the imgCIF dictionary. Nevertheless, it might be useful to an extent. |
|
Ta a lot! The automation side of things is where I have little idea what is going on |
|
whelp. That is beyond my understanding. |
You did well, but as I initially guessed, there are still some discrepancies that might need to be addressed upstream in the imgCIF dictionary repository. Also, imgCIF seems to import a fixed revision of the coreCIF dictionary (version 3.2.0) which would again require modifying the workflow (my programs do not yet attempt to download dictionaries from the specified URL). This was quite interesting, though. Feel free to comment out the DDLm checks for now if they are too annoying. |
|
But in any case, it appears that the errors/warnings are all with imgCIF, at least at this stage. From what I can tell reading the referenced core CIF version, it looks like most of the errors/warnings are the fault of imgCIF? Ah. But also, this was done against COMCIF/img_cif, where it probably should have been done against yayahjb/cbf_imgcif_dictionary/ddlm/img_cif. A quick read through there shows much the same issues. But considering that the ddlm version is a translation of the ddl2, I know not if it is an error in translation, or in the original. |
The imgCIF dictionary is a moving target in terms of which repository it will end up in. It is currently being transferred to the DIALS repository, but the DDLm version, as far as I know, should essentially be the same as the one in the yayahjb repo that you reference. For the purposes of making progress within PD, I think we should ignore imgCIF-related errors, and instead raise an issue in the COMCIFS/imgCIF repository as a way to keep track of imgCIF-PD integration problems. I have had a very slow time of getting any changes in the imgCIF dictionary approved, but I'm hoping that will improve with the new home. |
|
Most/all of the errors are just translation issues, looking at them. I have raised an issue. |
I can get onboard with that. |
|
I don't think we can really assert that only a single frame may contribute to a diffractogram, as these additions imply. Here we often collect frames every few minutes but then smoosh them together for the final diffractogram. Perhaps what we want is to stipulate that a single 'scan' contributes to a single diffractogram. That means a typical single-exposure diffractogram would be a one-frame scan. The So we don't need the |
|
For the moment, I've removed the imgCIF import from the github workflow. I figured we know where the issues come from, and it's probably better having The only changes in the workflow yaml file are EOL whitespace removal. |
from COMCIFS/MultiBlock_Dictionary#31 (comment)
Starting the process to allow a diffractogram to link to the specifc imgCIF frame and/or scan from which it was originally measured