[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
--
Reply to: [list | sender only]
Re: [ddlm-group] Clarification on dREL tables
- To: "Bollinger, John C" <John.Bollinger@stjude.org>
- Subject: Re: [ddlm-group] Clarification on dREL tables
- From: James Hester <jamesrhester@gmail.com>
- Date: Sat, 7 Nov 2020 08:38:24 +1100
- Cc: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
- In-Reply-To: <CH2PR04MB6950A0C9C91B4B528E3C865CE0ED0@CH2PR04MB6950.namprd04.prod.outlook.com>
- References: <CAM+dB2fbAtdxM_a+xz8sDeZcaSN=TZ+WzvE8hqMpjTtA-fBW0Q@mail.gmail.com><CABcsX25s9oND1z=N4vSfh85u-j8Va_MA5f_1n7p8hqQ7f24-cQ@mail.gmail.com><CH2PR04MB6950A0C9C91B4B528E3C865CE0ED0@CH2PR04MB6950.namprd04.prod.outlook.com>
Dear John - yes you are correct on all counts, I am talking about the keys in dREL Table values, not about DDLm category keys.
all the best,
James.
On Sat, 7 Nov 2020 at 01:18, Bollinger, John C <John.Bollinger@stjude.org> wrote:
Dear James,
Do I interpret correctly that the question is about CIF 2 data values of type Table, as opposed to DDLm category keys? And if I do have that right, then do I further understand correctly that the question is about the data types of the keys themselves, not the types of their associated values?
If I understand correctly on both counts then I have no objection to requiring table keys to be of consistent type. Moreover, I observe that CIF 2 is apparently more restrictive about the table values it can represent than dREL is about the table values it can work with, because CIF 2 tables must have string keys.
Cheers,
John
--John C. Bollinger, Ph.D., RHCSAComputing and X-ray ScientistDepartment of Structural BiologySt. Jude Children's Research Hospital
From: ddlm-group <ddlm-group-bounces@iucr.org> on behalf of Herbert J. Bernstein <yayahjb@gmail.com>
Sent: Friday, November 6, 2020 4:59 AM
To: James Hester <james.r.hester@gmail.com>; Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
Subject: Re: [ddlm-group] Clarification on dREL tablesÂCaution: External Sender.
Do not click links or open attachments unless you recognize the sender and know the content is safe.
Dear James, Why is it necessary or desirable to have a uniform type for keys? This would seem to bar a lot of uses ofÂrather natural mmCIF and imgCIF constructs in which tables can be formed with composite keys someof which are integers, such as array_id and binary_id and some of which are strings such as entry_id.This kind of mixture allows us to build useful databases of information culled from multiple entries unlesswe completely forbid making databases of rows extracted from tables with integer keys where the datacomes from multiple entries. Regards,  Herbert
On Thu, Nov 5, 2020 at 9:02 PM James Hester <jamesrhester@gmail.com> wrote:
Hi all,_______________________________________________
The dREL paper is not explicit on the uniformity of the keys used in dREL tables (associative dictionaries). In the supplementary material it says is that keys can be integers or 'character values'. It is not explicit about whether these types of keys can be mixed in a single table. I suggest we clarify this point by stating that dREL table keys must be of the same type (the key types would be "cased strings", "caseless strings", or "integers"). I note that values are already constrained to be of the same type, and I believe that this stipulation is consistent with the current usage in the CIF dictionaries.
If there are any concerns about this, feel free to respond, otherwise I will incorporate this clarification into the Vol G dREL chapter.
all the best,James.--
T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
ddlm-group mailing list
ddlm-group@iucr.org
http://mailman.iucr.org/cgi-bin/mailman/listinfo/ddlm-group
Email Disclaimer: www.stjude.org/emaildisclaimer
Consultation Disclaimer: www.stjude.org/consultationdisclaimer
T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
F +61 (02) 9717 3145
M +61 (04) 0249 4148
_______________________________________________ ddlm-group mailing list ddlm-group@iucr.org http://mailman.iucr.org/cgi-bin/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- References:
- [ddlm-group] Clarification on dREL tables (James Hester)
- Re: [ddlm-group] Clarification on dREL tables (Herbert J. Bernstein)
- Re: [ddlm-group] Clarification on dREL tables (Bollinger, John C)
- Prev by Date: Re: [ddlm-group] Clarification on dREL tables
- Next by Date: [ddlm-group] Adding namespaces to dREL
- Prev by thread: Re: [ddlm-group] Clarification on dREL tables
- Next by thread: Re: [ddlm-group] Clarification on dREL tables
- Index(es):