Difference between revisions of "User talk:GaryGriffin"
GaryGriffin (talk | contribs) |
|||
Line 16: | Line 16: | ||
:# Overlapping segments are hidden below others and currently unaccessible. A way to draw overlapping segments in seperate rows might be an interesting feature in future. | :# Overlapping segments are hidden below others and currently unaccessible. A way to draw overlapping segments in seperate rows might be an interesting feature in future. | ||
:[[User:Matt|Matt]] ([[User talk:Matt|talk]]) 10:47, 25 September 2020 (UTC) | :[[User:Matt|Matt]] ([[User talk:Matt|talk]]) 10:47, 25 September 2020 (UTC) | ||
+ | |||
+ | :[[User:Matt|Matt]]: Hmmm, I have 18 Associations for one person and it is less than a second to draw for me. I am on a 2013 Mac, so not the fastest system. This may be more of a function of PyCairo implementation on the platform. Can you provide more info on platform and range of overlaps. | ||
+ | :# Are most of your segments tied to a maternal/paternal side or unknown (which can definitely get busy)? Almost all of mine are M/P known. The drawing format is the standard one (for each segment an M and a P section). I fear I would add more confusion if I diverted from that. See [https://DNApainter.com DNApainter] as an example. | ||
+ | :# I draw in order of Association. I cannot think of how I would draw in an order that guaranteed the largest was always behind all smaller overlaps. I have only 1 totally obscured overlap, so hadn't thought about this problem. I only realized I had this when I made the segments more transparent (see next item). | ||
+ | :# Maybe if all were less opaque, it would be an easier view? Change line 330 of dna.py to the following. This will change the opacity to 0.5 for M/P and 0.33 for U. The one I posted was 1 for M/P and 0.5 for U. Would appreciate your feedback on this change. | ||
+ | cr.set_source_rgba(rgb_color[0], rgb_color[1], rgb_color[2], 1/(chr_mult+1)) | ||
+ | |||
+ | [[User talk:GaryGriffin|talk]]) 17:40, 25 Sep 2020 (PST) |
Revision as of 00:43, 26 September 2020
Welcome to Gramps! We hope you will contribute much and well. You will probably want to read the help pages. Again, welcome and have fun! Nickw (talk) 18:24, 28 November 2016 (MST)
DNA Gramplet
I apologize for jumping the gun on moving the DNA Gramplet documentation I did not realize the documentation was referring to an unreleased addon not available to anyone but yourself, which explains my confusion when I was attempting to update based on the existing version and seeing different results than your screenshots show :( Will you be sharing it for testing myself & possibly User:Matt are interested? --Gioto (talk) 22:21, 20 September 2020 (UTC)
- Added access to test version at DNA. I will be pushing this once another PR has been accepted (Addon:SyncAssociationis loosely connected to the DNA gramplet) GaryGriffin (talk) 17:25, 20 Sep 2020 (PST)
dna feedback from matt
- GaryGriffin: Thank you for sharing. Testing seems to work fine. Some notes and ideas:
- The loading speed might become a problem. For 8 associations it already takes ~3 seconds to load.
- Overlapping segments are hidden below others and currently unaccessible. A way to draw overlapping segments in seperate rows might be an interesting feature in future.
- Matt (talk) 10:47, 25 September 2020 (UTC)
- Matt: Hmmm, I have 18 Associations for one person and it is less than a second to draw for me. I am on a 2013 Mac, so not the fastest system. This may be more of a function of PyCairo implementation on the platform. Can you provide more info on platform and range of overlaps.
- Are most of your segments tied to a maternal/paternal side or unknown (which can definitely get busy)? Almost all of mine are M/P known. The drawing format is the standard one (for each segment an M and a P section). I fear I would add more confusion if I diverted from that. See DNApainter as an example.
- I draw in order of Association. I cannot think of how I would draw in an order that guaranteed the largest was always behind all smaller overlaps. I have only 1 totally obscured overlap, so hadn't thought about this problem. I only realized I had this when I made the segments more transparent (see next item).
- Maybe if all were less opaque, it would be an easier view? Change line 330 of dna.py to the following. This will change the opacity to 0.5 for M/P and 0.33 for U. The one I posted was 1 for M/P and 0.5 for U. Would appreciate your feedback on this change.
cr.set_source_rgba(rgb_color[0], rgb_color[1], rgb_color[2], 1/(chr_mult+1))
talk) 17:40, 25 Sep 2020 (PST)