[Biopython-dev] [Bug 2815] Bio.Application command line interfaces

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue Apr 28 16:54:32 UTC 2009


http://bugzilla.open-bio.org/show_bug.cgi?id=2815





------- Comment #14 from cymon.cox at gmail.com  2009-04-28 12:54 EST -------
(In reply to comment #13)
> (In reply to comment #11)
> > In those unittests, you'll note that I have no idea about the windows
> > environment! (dont use window, never have used windows). I just copied
> > from the Emboss wrapper...
> > 
> > C.
> 
> That explains things :)
> 
> I had already guessed you hadn't run any of these tests on Windows, because the
> executable isn't recorded properly, and even if it was, you never use it when
> creating the command line objects:
> 
> #Don't do this if you want to actually run the application, as
> #it would only work on Unix where the command is on the path:
> #cmdline = MafftCommandline()
> #Instead, use the exe name we determined earlier:
> cmdline = MafftCommandline(mafft_exe)

OK, thanks, I'll update the wrappers on my branch.

> If the tools do record their install location in the registry, we can do a
> win32api call to get the path.
>  Then if win32api isn't installed just raise the
> MissingExternalDependencyError exception.

We can? ;)

Can you give me some code, or I could just use this in the meantime:
if sys.platform=="win32" :
    raise MissingExternalDependencyError("Testing with MUSCLE not implemented
on Windows yet")

C.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list