#86 Group Label Shortening With . at end

open
nobody
5
2012-12-06
2009-06-13
cowsandmilk
No

A nice feature of the new groups is that if the group label is a prefix of the names of the group members, the names of the group members are shortened. This doesn't work if the group name ends in a period though. See the attached for a screen shot. PML code is below:

create a.a, all
create a.b, all
create a.c, all
create b.a, all
create b.b, all
create b.c, all
group a., a.*
group b, b.*

Discussion

  • cowsandmilk
    cowsandmilk
    2009-06-13

     
    Attachments
  • It works if you used two periods in your object names.

    create a..a, all
    create a..b, all
    create a..c, all
    group a., a.*

    But that's likely besides the point. What are you actually trying to achieve?

     
  • cowsandmilk
    cowsandmilk
    2009-06-30

    We have a clustering program that outputs stuff where we end up with objects named

    prot_name.cluster_name.member_name , so when I group them, I'd like it to be:
    prot_name.
    cluster_name.
    member_name
    cluster2_name.
    member_name
    prot2_name
    ...and so on

    That's what I think is pretty