-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DM-41063: Update docstring for DiaSource.ext_trailedSources_Naive_flag_edge #191
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a comment, not an objection.
These column names are starting to get very long, sometimes more than 50% of the length of the description. Long column names are not going to be super-popular with users creating ADQL queries, and they also don't lead to a great UX in a visualization, because either one displays the whole string -- with associated distortions of the UI, like very wide columns that only have 'T' or 'F' in them -- or some generic truncation of it, which might not be nearly as informative as a deliberately constructed shorter name.
Note that the description string is available in almost every context, Portal, PyVO, TOPCAT, etc.
I'm not requesting changes because we don't have a stated maximum length and we also haven't leaned hard on this in the past, but it would be good to think it through.
c2ceac7
to
33810bb
Compare
cb20aa2
to
8914c7b
Compare
287845c
to
218f611
Compare
yml/imsim.yaml
Outdated
datatype: boolean | ||
description: This flag is set if a trailed source end points contains a nan. | ||
fits:tunit: | ||
mysql:datatype: BOOLEAN |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove all of these mysql:datatype: BOOLEAN
overrides (including the two below) as they are now redundant with datatype: boolean
and will be flagged in the validation as errors in the near future.
@bsmartradio You should pull recent updates to |
And it looks like you can ultimately squash the three commits that are currently on this branch. |
7f658d6
to
fe9b9a4
Compare
The current state of this PR appears to be that it only changes one line of code, the description for the column |
fe9b9a4
to
f956520
Compare
This is still in flux as the other 5 PR's related to it are still in the works. This will likely be the only change and this PR will be updated.
…________________________________
From: gpdf ***@***.***>
Sent: Monday, May 6, 2024 5:37 PM
To: lsst/sdm_schemas ***@***.***>
Cc: Brianna Smart ***@***.***>; Mention ***@***.***>
Subject: Re: [lsst/sdm_schemas] DM-41063: Add nan, suspect_long_trial, and off_image flags (PR #191)
The current state of this PR appears to be that it only changes one line of code, the description for the column DiaSource.ext_trailedSources_Naive_flag_edge . Is that correct or is the branch still in flux?
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/lsst/sdm_schemas/pull/191*issuecomment-2097150550__;Iw!!K-Hz7m0Vt54!m5gzBcs6NysWnSWkipTnxv0K48G4YHUVPtXyTk5HgWsOaonYzrG4pzLkmt9u6UvYUG_nR0SN1k3Ebq8jP1ocupA$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AWZRE6HYW273E736JC4AIYDZBAO4TAVCNFSM6AAAAABEJ5ZQZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXGE2TANJVGA__;!!K-Hz7m0Vt54!m5gzBcs6NysWnSWkipTnxv0K48G4YHUVPtXyTk5HgWsOaonYzrG4pzLkmt9u6UvYUG_nR0SN1k3Ebq8jvlEhf4A$>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
f956520
to
fe2fd46
Compare
This is such a minor change that it should just be rolled into some other update or put on a user branch. We only really merge ticket branches like this when they resolve the connected Jira issue, and we don't reuse branch names or generally allow merging the same branch more than once.
It would be my preference that these are split into separate Jira issues and ticket branches. For anything but trivial changes we aim for a one-to-one correspondence between PRs and tickets on this project. There are exceptions when applying a small patch/fix/update to an already merged branch (with branch naming like |
I believe there may be some confusion, the other 5 PR's are the related ticket work for DM-41063 are in other packages. We are changing how the edge flag works and what it means across multiple packages to make it more specific when we filter the trailed sources. Naturally, this means that the docstring for the flag needs to be updated as it no longer is accurate since it now no longer indicates off image trails. If you still feel this requires a user branch, I can do that, but this is directly related to the edge flag change and migration in ticket DM-41063. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Holding temporarily until I understand if this is actually resolving the referenced ticket, since the original PR had actual changes to the schema that added additional columns.
Don't these columns still need to be added to the schema to resolve the ticket? Or was it decided not to include them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bsmartradio indicated that the additional columns on the schemas were no longer needed and this PR resolves the work for the ticket on this repo.
@bsmartradio We just noticed that the description change in this ticket was applied only to |
The docstring for
DiaSource.ext_trailedSources_Naive_flag_edge
has been updated to reflect that it only indicates whether or not a trailed source's endpoints contain edge pixels. Other flags pertaining to trailed sources will not be persisted at this time and are only used for filtering purposes infilterDiaSourceCatalog.py
inap_association
.