From antanas.vaitkus90 at gmail.com Mon Sep 10 10:32:41 2018 From: antanas.vaitkus90 at gmail.com (Antanas Vaitkus) Date: Mon, 10 Sep 2018 10:32:41 +0300 Subject: [Cod-bugs] error with file json created in queries on chemical elements In-Reply-To: <06eb2485-4f0c-abaa-b3b6-defdca1d0cd5@ic.cnr.it> References: <06eb2485-4f0c-abaa-b3b6-defdca1d0cd5@ic.cnr.it> Message-ID: Dear Cuocci Corrado, thank You for Your bug report. It was an error on our part that has now been fixed. Please do not hesitate to report if You find any more errors. Sincerely, Antanas Vaitkus On Fri, 7 Sep 2018 at 16:41, Corrado Cuocci wrote: > Dear developers of COD, > > in this period we are working to a new tool able to visualize e load > file directly in EXPO program by using your RESTful API. You can see a > short description of this tool at > http://www.ba.ic.cnr.it/softwareic/expo/file/ > > I have seen that the file json created when you perform query with the > keywords el1,el2,...,el8 or nel1,nel2,...,nel4 is not readable. > To reproduce the error: > > 1) Try for example to download the file json for a query on compounds > with V and O > > http://www.crystallography.net/cod/result.php?el1=V&el2=O&format=json > > 2) Now read the file COD-selection.json using for example the following > command > python -m json.tool and you will obtain the following error > No JSON object could be decoded. > > If you open the file with editor you will see at the beginning of the > file some characters that make the file non readable as json file. > > Best regards > Corrado > -- > ============================================ > Cuocci Corrado > Istituto di Cristallografia - CNR > Via G. Amendola,122/o > 70126 Bari (Italy) > tel: +390805929161 > fax:+390805929170 > corrado.cuocci at ic.cnr.it > ============================================ > _______________________________________________ > Cod-bugs mailing list > Cod-bugs at lists.crystallography.net > http://lists.crystallography.net/cgi-bin/mailman/listinfo/cod-bugs > -- Antanas Vaitkus, PhD student at Vilnius University Institute of Biotechnology, room V325, Saul?tekio al. 7, LT-10257 Vilnius, Lithuania -------------- next part -------------- An HTML attachment was scrubbed... URL: