Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375919 - sci-biology/ApE: Enhanced startup script
Summary: sci-biology/ApE: Enhanced startup script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Jeffrey Gardner (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2011-07-21 19:30 UTC by Markus Meier
Modified: 2012-12-31 18:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New startup script for ApE (ApE,392 bytes, text/plain)
2011-07-21 19:30 UTC, Markus Meier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier 2011-07-21 19:30:35 UTC
Created attachment 280545 [details]
New startup script for ApE

The current startup bash script for sci-biology/ApE (i.e./usr/bin/ApE) does not forward command line arguments to the ApE program (i.e. AppMain.tcl). As a consequence, DNA sequence files supplied from the command line or a file browser do not open in ApE.

I have attached a modified startup script that takes care of the issue.

AppMain.tcl is a bit peculiar. It searches relative file paths provided on the command line relative to the directory it resides in instead of searching relative to the current working directory. My script below converts relative file paths to absolute file paths. It also works with path names that have spaces in them.
Comment 1 Markus Meier 2011-07-21 19:42:06 UTC
*  sci-biology/ApE
      Latest version available: 2.0.7
      Latest version installed: 2.0.7
      Size of files: 310 kB
      Homepage:      http://www.biology.utah.edu/jorgensen/wayned/ape/
      Description:   ApE - A Plasmid Editor
      License:       ApE
Comment 2 Jeffrey Gardner (RETIRED) gentoo-dev 2012-12-31 18:16:46 UTC
Works great!
Thank you!