Bandage
Bandage copied to clipboard
Double-click a GFA file to open it [macOS]
I associated the GFA file type with Bandage.app. I double clicked a GFA file. Bandage opens, but the selected graph is not loaded. I suspect this is because the Bandage.app/Contents/MacOS/Bandage
executable needs to be launched with the Bandage load foo.gfa
command, whereas macOS is probably launching it with simply Bandage foo.gfa
(unconfirmed). open foo.gfa
similarly does not work. Bandage load foo.gfa
works as expected.
Yes, that would be a nice feature! It unfortunately seems to behaving differently on different platforms, so it might take a bit of work to make sure that implementing it for the Mac doesn't break Bandage on Linux/Windows!
For my own future reference: http://doc.qt.io/qt-5/qfileopenevent.html
Thanks, Ryan!