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
I recently got tripped up by the fact that AtomCache's constructor disables alignSeqRes and parseSecStruc specifically.
// we don't need this hereparams.setAlignSeqRes(false);
// no secstruc eitherparams.setParseSecStruc(false);
The current default for FileParsingParams.alignSeqRes is true. I would have expected cache.setFileParsingParams(new FileParsingParams()) to reset a cache to its default state, but this is not true.
Would anyone object if I deleted the above two lines, making alignSeqRes=true the default?
Activity
josemduarte commentedon Apr 21, 2016
That looks like a bug indeed. Go ahead, it'd be good to have this for 4.2.1
Fix biojava#455. Use parsing params for AtomCache
Fix biojava#455. Use parsing params for AtomCache
josemduarte commentedon Apr 27, 2016
Could you push the fix to
masterandbugfixes-4.2?I think we should be ready for a 4.2.1 release after that. Or are there any other patches coming?
josemduarte commentedon Apr 27, 2016
Oh sorry, I now saw the pull request. Let's merge that one then...
Merge pull request #466 from sbliven/fix-455
Fix #455. Use parsing params for AtomCache
josemduarte commentedon Apr 27, 2016
I've cherry-picked it to
bugfixes-4.2too. I'll try to produce the 4.2.1 release later.sbliven commentedon Apr 28, 2016
Thanks, @josemduarte. I meant to make the pull request directly into bugfixes-4.2 but accidentally used master instead.