Git Product home page Git Product logo

Comments (13)

mattfidler avatar mattfidler commented on September 2, 2024

Probably pmxTools. Or here if we want to use a non xml method. @kestrel99 mentioned a non xml method that @RikSchoemaker uses

from babelmixr2.

billdenney avatar billdenney commented on September 2, 2024

As I've looked more, it's not an easily-fixable issue either place. The XML file appears to be missing not just some of the closing tags but also some of the needed data. Having it throw an error is likely the best path. We may want to make the error clearer, but otherwise, I think we can leave it for now.

from babelmixr2.

kestrel99 avatar kestrel99 commented on September 2, 2024

I'll fix it when I get back. In the meantime can you flag it on the pmxTools GitHub page so I don't forget? (I think a clear error about it being malformed XML is the best.)

from babelmixr2.

mattfidler avatar mattfidler commented on September 2, 2024

xml reader is used to calculate

  • nonmem run time
  • nmtran message
  • termination message
  • covariance information

from babelmixr2.

mattfidler avatar mattfidler commented on September 2, 2024

The lst reader gives

  • termination message
  • ofv

from babelmixr2.

billdenney avatar billdenney commented on September 2, 2024

Covariance comes pretty easily from reading the .cov file. I don't know if run time comes easily from another source (though I also don't think it seems to be required...).

from babelmixr2.

mattfidler avatar mattfidler commented on September 2, 2024

I am writing a .lst parser right now (since most of the ddmore files don't contain .ext files), I can get the run time from that parser. I looked at pmxTools .lst parser and it doesn't get as much as I thought it did.

from babelmixr2.

billdenney avatar billdenney commented on September 2, 2024

PsN has a .lst parser that covers a lot of the potential issues that come up in edge cases. You may want to look at it while you're at it.

from babelmixr2.

billdenney avatar billdenney commented on September 2, 2024

Also, I think that the .cov file has more precision than the .lst file for the covariance matrix (i.e. more significant figures).

from babelmixr2.

mattfidler avatar mattfidler commented on September 2, 2024

After thinking a bit, all I will extract is the parameter estimates for now. lst parsing is a pain.

from babelmixr2.

mattfidler avatar mattfidler commented on September 2, 2024

https://github.com/UUPharmacometrics/PsN/blob/18f6d39677506ab568134cf3965c6af7bbda6b99/lib/output/problem/subproblem.pm

if you are looking

from babelmixr2.

billdenney avatar billdenney commented on September 2, 2024

That's about what I remembered.

from babelmixr2.

mattfidler avatar mattfidler commented on September 2, 2024

Write the parser in nonmem2rx

from babelmixr2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.