Skip to content

Filtering for nonhydrogen bonds and hydrogen bonds #182

@jeleclaire

Description

@jeleclaire

@inline non_hydrogen_bonds(ac) = filter(b -> !haskey(b.properties, :TYPE__HYDROGEN), bonds(ac))

  • To do: It seems that test cases for these little helper functions are still missing.

  • Consistency: I am wondering if TYPE__HYDROGEN should not better be a flag than a property. For instance, residues can be tagged with C-Terminal or 5-Prime as flags... what is again the definition for properties or flags?

Metadata

Metadata

Assignees

No one assigned

    Labels

    consistencyImprovements in stylequestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions