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-4353 Add secondary Types for Args, for STRUCTUREIMAGE Type and restrict structure...
[jalview.git]
/
src
/
jalview
/
bin
/
argparser
/
ArgParser.java
diff --git
a/src/jalview/bin/argparser/ArgParser.java
b/src/jalview/bin/argparser/ArgParser.java
index
155f69e
..
fe73053
100644
(file)
--- a/
src/jalview/bin/argparser/ArgParser.java
+++ b/
src/jalview/bin/argparser/ArgParser.java
@@
-661,7
+661,7
@@
public class ArgParser
// set allstructures to all non-primary structure options in this linked
// id if --allstructures has been set
// set allstructures to all non-primary structure options in this linked
// id if --allstructures has been set
- if (allStructures && (a.getType() == Type.STRUCTURE
+ if (allStructures && (a.hasType(Type.STRUCTURE)
// || a.getType() == Type.STRUCTUREIMAGE)
) && !a.hasOption(Opt.PRIMARY))
{
// || a.getType() == Type.STRUCTUREIMAGE)
) && !a.hasOption(Opt.PRIMARY))
{