Skip to content
Snippets Groups Projects

rearrangements

Merged myron requested to merge user_set_groups_rearrangement into master

this merge request gives the possibility to specify a wished sequencing ordering, between groups, in a user created file which uses virtual links. This is done by having the sequencing order determined, when the pointing group has attribute "is_rearranged", by the naming used for such pointing group, not by the name of the target. When the attribute is absent, the standard ordering is applied.

Edited by myron

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • myron assigned to @payno

    assigned to @payno

  • myron changed the description

    changed the description

  • two minors comments:

    • could you put the is_rearranged details from this PR to the source code please ?
    • maybe testing the value of is_rearranged would also make more sense (even if for now I guess when it exists it is always set to True). So having something like:
    is_rearranged = not in h5d.get(node).attrs.get("is_rearranged", False)
    if not is_rearranged and isinstance(node_to_treat, (h5py.ExternalLink, h5py.SoftLink)):
       ...
  • payno approved this merge request

    approved this merge request

  • merged

  • payno mentioned in commit 86b1cad4

    mentioned in commit 86b1cad4

Please register or sign in to reply
Loading