#23 missing ending tag cml:list for AbstractReaderWriterPipe imp

open
nobody
None
5
2008-01-04
2008-01-04
No

The output from extending the AbstractReaderWriterPipe has a missing cml:list ending tag. Wellformness broken. I tested with the examples under src/resources.

This was also a cvs HEAD version of a day ago.

Discussion

  • Roger I Martin

    Roger I Martin - 2008-01-04

    Logged In: YES
    user_id=383601
    Originator: YES

    the joelib2.io.types.ChemicalMarkupLanguage.closeWriter is never called

     
  • Roger I Martin

    Roger I Martin - 2008-01-04

    Logged In: YES
    user_id=383601
    Originator: YES

    Ah! Found if I just call the close on the impl it in turn calls the joelib2.io.types.ChemicalMarkupLanguage.closeWriter. Changed the code to
    [code]
    AddMolID addMolID = null;
    try
    {
    addMolID = new AddMolID(args);
    addMolID.loadWriteAllMolecules();
    addMolID.close();
    }
    catch (IOException e)
    {
    e.printStackTrace();
    System.exit(1);
    }
    [/code]and then it worked

     

Log in to post a comment.