-
Notifications
You must be signed in to change notification settings - Fork 4
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
Restrict the values of _atom_site_moment_Fourier.wave_vector_seq_id #69
Merged
jamesrhester
merged 6 commits into
COMCIFS:main
from
vaitkus:restrict-atom-site-moment-Fourier-wave-vector-seq-id-to-int
Feb 15, 2024
Merged
Restrict the values of _atom_site_moment_Fourier.wave_vector_seq_id #69
jamesrhester
merged 6 commits into
COMCIFS:main
from
vaitkus:restrict-atom-site-moment-Fourier-wave-vector-seq-id-to-int
Feb 15, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The values were restricted to non-negative integers since a numeric identifier values is used when constructing various symmform data item values (see `_atom_site_moment_Fourier_param.cos_symmform`, 4th component). The definition range of 0: was taken from the definition of the linked `_atom_site_Fourier_wave_vector.seq_id` data item from the Modulation dictionary, however, restricting the range to only positive integers might also make sense.
This question is above my pay grade, as it seems to be relevant to the seq_ID of any CIF loop. Personally, I think it unlikely that anyone will want to start with zero.
From: Antanas Vaitkus ***@***.***>
Sent: Tuesday, February 6, 2024 10:29 AM
To: COMCIFS/magnetic_dic ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [COMCIFS/magnetic_dic] Restrict the values of _atom_site_moment_Fourier.wave_vector_seq_id (PR #69)
This PR redefines the _atom_site_moment_Fourier.wave_vector_seq_id from Text to a non-negative Integer since such values are expected by various symmform data items (see definition of _atom_site_moment_Fourier_param.cos_symmform and the following comment #67 (comment)<#67 (comment)>).
The non-negative enumeration range of 0: was taken from the definition of the linked _atom_site_Fourier_wave_vector.seq_id data item from the Modulation dictionary. However, I am not completely sure if the authors intended to include 0 into the set of allowed integers or simply though that the enumeration range is exclusive. Please let me know if this should be redefined to exclude the 0.
…________________________________
You can view, comment on, or merge this pull request online at:
#69
Commit Summary
* 61afa92<61afa92> Restrict the values of _atom_site_moment_Fourier.wave_vector_seq_id.
File Changes
(1 file<https://github.com/COMCIFS/magnetic_dic/pull/69/files>)
* M cif_mag.dic<https://github.com/COMCIFS/magnetic_dic/pull/69/files#diff-b91abc84e0b12625faa7a4050660841de0a83acafc212aab89af01bdae75a698> (12)
Patch Links:
* https://github.com/COMCIFS/magnetic_dic/pull/69.patch
* https://github.com/COMCIFS/magnetic_dic/pull/69.diff
—
Reply to this email directly, view it on GitHub<#69>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACZAIQT5N4STA2UZA73AK2LYSJR6HAVCNFSM6AAAAABC4MWGR6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZDCMZTGYYDOMA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.******@***.***>>
|
11 tasks
I will consult with the MS cif people to check what the current usage is. |
Gotzon advises that starting from '1' is desirable for this data name. |
Ok, I updated the range to |
vaitkus
deleted the
restrict-atom-site-moment-Fourier-wave-vector-seq-id-to-int
branch
February 16, 2024 09:19
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR redefines the
_atom_site_moment_Fourier.wave_vector_seq_id
fromText
to a non-negativeInteger
since such values are expected by various symmform data items (see definition of_atom_site_moment_Fourier_param.cos_symmform
and the following comment #67 (comment)).The non-negative enumeration range of 0: was taken from the definition of the linked
_atom_site_Fourier_wave_vector.seq_id
data item from the Modulation dictionary. However, I am not completely sure if the authors intended to include 0 into the set of allowed integers or simply though that the enumeration range is exclusive. Please let me know if this should be redefined to exclude the 0.