git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3551 null pointer defence while structure files loading; comments
[jalview.git]
/
src
/
jalview
/
ext
/
pymol
/
PymolCommands.java
diff --git
a/src/jalview/ext/pymol/PymolCommands.java
b/src/jalview/ext/pymol/PymolCommands.java
index
1e4885e
..
3493d03
100644
(file)
--- a/
src/jalview/ext/pymol/PymolCommands.java
+++ b/
src/jalview/ext/pymol/PymolCommands.java
@@
-313,6
+313,7
@@
public class PymolCommands extends StructureCommandsBase
public StructureCommandI openSession(String filepath)
{
// https://pymolwiki.org/index.php/Load
public StructureCommandI openSession(String filepath)
{
// https://pymolwiki.org/index.php/Load
+ // this version of the command has no dependency on file extension
return new StructureCommand("load", filepath, "", "0", "pse");
}
return new StructureCommand("load", filepath, "", "0", "pse");
}