throw new IllegalArgumentException(spec);
}
- String chainId = dotPos == -1 ? "" : residueChain.substring(dotPos + 1);
-
+ String chainId = dotPos == -1 ? " " : residueChain
+ .substring(dotPos + 1);
+ if (chainId.length() == 0)
+ {
+ chainId = " ";
+ }
return new AtomSpec(modelId, chainId, resNum, 0);
}