You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current build copies blast executables to distribution and these end with the ".exe" extension. On a mac, this prevents the editor from running blast since it only looks for ".exe" for windows operating systems:
com.quattroresearch.blastws.LocalConfig:
private static final String BLASTN = findFile("blastn");
private static final String BLASTP = findFile("blastp");
[...]
if (OSUtils.IS_WINDOWS) {
exeFileName = fileName + ".exe";
One simple way to fix this might simply be to add ".exe" to your string and changing the conditional to look for anything that isn't windows.
private static final String BLASTN = findFile("blastn.exe");
private static final String BLASTP = findFile("blastp.exe");
[...]
if (OSUtils.IS_WINDOWS==false) {
exeFileName = fileName.substring(0,fileName.length-4);
That's one way. Another way might be to detect the OS in ant and remove the file extension if not windows. Multiple ways to achieve this result :)
The text was updated successfully, but these errors were encountered:
Current build copies blast executables to distribution and these end with the ".exe" extension. On a mac, this prevents the editor from running blast since it only looks for ".exe" for windows operating systems:
com.quattroresearch.blastws.LocalConfig:
One simple way to fix this might simply be to add ".exe" to your string and changing the conditional to look for anything that isn't windows.
That's one way. Another way might be to detect the OS in ant and remove the file extension if not windows. Multiple ways to achieve this result :)
The text was updated successfully, but these errors were encountered: