Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

Default parsing params for AtomCache #455

Closed

Description

@sbliven

I recently got tripped up by the fact that AtomCache's constructor disables alignSeqRes and parseSecStruc specifically.

// we don't need this here
params.setAlignSeqRes(false);
// no secstruc either
params.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

  1. self-assigned this
    on Apr 21, 2016
  2. added this to the milestone on Apr 21, 2016
  3. added
    bugBugs and bugfixes
    questionOpen discussions about the library
    on Apr 21, 2016
  4. josemduarte commented on Apr 21, 2016

    @josemduarte
    Contributor

    That looks like a bug indeed. Go ahead, it'd be good to have this for 4.2.1

  5. added 2 commits that reference this issue on Apr 27, 2016
    02793b6
    68578d4
  6. josemduarte commented on Apr 27, 2016

    @josemduarte
    Contributor

    Could you push the fix to master and bugfixes-4.2?

    I think we should be ready for a 4.2.1 release after that. Or are there any other patches coming?

  7. josemduarte commented on Apr 27, 2016

    @josemduarte
    Contributor

    Oh sorry, I now saw the pull request. Let's merge that one then...

  8. added a commit that references this issue on Apr 27, 2016
    ebe34a4
  9. added a commit that references this issue on Apr 27, 2016
    348f91d
  10. josemduarte commented on Apr 27, 2016

    @josemduarte
    Contributor

    I've cherry-picked it to bugfixes-4.2 too. I'll try to produce the 4.2.1 release later.

  11. sbliven commented on Apr 28, 2016

    @sbliven
    MemberAuthor

    Thanks, @josemduarte. I meant to make the pull request directly into bugfixes-4.2 but accidentally used master instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugBugs and bugfixesminorquestionOpen discussions about the library

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions