|
From: | Pierre de Buyl |
Subject: | Re: [h5md-user] H5MD: h5md/author attribute |
Date: | Tue, 9 Aug 2011 14:16:01 -0400 |
Hi all, Le 26 juil. 11 à 10:24, Peter Colberg a écrit :
On Tue, Jul 26, 2011 at 10:14:05AM -0400, Peter Colberg wrote:Hi Pierre, while reviewing the code of the new H5MD writer/reader in HALMD, Felix suggested that we add an "author" attribute to the h5md group. This seems an especially good idea if sharing H5MD files within a collaboration. What do you think?I propose the "author" attribute should contain the full name (not thelogin name, which might be considered “confidential” by some users?).Or better, we could specify use of the full name if available, and otherwise (if the gecos field is empty) fall back to the login name.On the implementation side, POSIX systems provide getuid(2) to query the numeric user ID, and getpwuid_r(3) to query the real name (in pw_gecos field).
As far as the implementation is concerned, we shouldn't care too much in the specification.
However, proposing a default seems fine. I would go for Real Name [,Organization][, <address@hidden>][URL]where the [] mean optional. An email or homepage allow people to designate themselve in a flexible way.
This would remain a single text field.
Regards, Peter -- Peter Colberg Chemical Physics Theory Group Department of Chemistry University of Toronto Toronto, Ontario M5S 3H6 Canada Phone: +1-416-946-7849 Fax: +1-416-978-5325 Website: http://www.chem.utoronto.ca/~pcolberg/
----------------------------------------------------------- Pierre de Buyl Chemical Physics Theory Group - University of TorontoPhysique des Systèmes Complexes et Mécanique Statistique - Université Libre de Bruxelles
web: http://homepages.ulb.ac.be/~pdebuyl/ Tel: +1-416-946-0047 -----------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |