[Biojava-dev] Fw: Locale-sensitive PDB header produced

Andreas Prlic andreas at sdsc.edu
Wed Sep 14 05:31:41 UTC 2011


Thanks for the fix Amr, good point about the standard locale.

Not sure why your mail did not come through at first attempt. Didn't
you have email sending issues before? I did not see anything coming in
server-side. Perhaps worth trying a different email/provider?

Andreas

2011/9/13 Amr AL-Hossary <amr_alhossary at hotmail.com>:
> Dear Dr. Andreas
> I sent this email twice to the group before but it wasn't received, nor a
> rejection notification returned
> Do you have any clues?
> --------------------------------------------------
> From: "Amr AL-Hossary" <amr_alhossary at hotmail.com>
> Sent: Tuesday, September 13, 2011 6:41 PM
> To: <biojava-dev at lists.open-bio.org>
> Subject: Fw: Locale-sensitive PDB header produced
>
>> While building Snapshot, the org.biojava.bio.structure.PDBFileParserTest
>> failed;
>> because of the regional settings on my PC where month names are written in
>> Arabic.
>>
>> The test string was
>> HEADER COMPLEX (SERINE PROTEASE/INHIBITORS) 06-FEB-98 1A4W
>> while the produced Header was
>> HEADER COMPLEX (SERINE PROTEASE/INHIBITORS) 06-فبر-98 1A4W
>>
>> So I changed all SimpleDateFormat constructors in Biojava 3 to be
>> explicitly tied to the US Locale.
>>
>> Please all stick to specifying fixed locale in any further development
>>
>> Amr
>
>




More information about the biojava-dev mailing list