-
Notifications
You must be signed in to change notification settings - Fork 27
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
Naming conventions? #6
Comments
I agree! I tried to put similar names but that each remora have the distinctive word, for e.g. dt_ship_control for Ship-Detector, whereas for the others is dt_control for Spice-Detector, and dtcontrol for Detector Remora. So I think we should at least add the main word of the remora in any script. But on the other hand, when you add all the remoras, the code of the last remora added has the highest priority, which can be advantageous. For example, for Ship Detector I had to add the specific plot_ltsa that will overwrite the default in Triton, that way I can plot the tlab files. |
@kfrasier! dt_.... It is more accurate for the DetectorRemora. So maybe files could be named like ImageSet Remora - prefix: is -> is_control |
Perfect. I'll start applying that to spice, imageset, cluster, and dt over
the next few weeks. Can do logger too eventually.
For upcoming remoras, I'll run a proposed prefix by you before initial
commit.
…On Tue, Aug 13, 2019 at 11:56 AM Alba Solsona ***@***.***> wrote:
@kfrasier <https://github.com/kfrasier>! dt_.... It is more accurate for
the DetectorRemora. So maybe files could be named like
ImageSet Remora - prefix: is -> is_control
Logger Remora - prefix: log -> log_control
Spice Detector Remora - prefix: sp -> sp_control
Ship Detector Remora - prefix: sh -> sh_control
Cluster Remora - prefix: ct -> ct_control
Detector Remora - prefix: dt -> dt_control
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6?email_source=notifications&email_token=ABDOCHRW6V45GLFE47JIRP3QEL7WFA5CNFSM4ILGF2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4GULVA#issuecomment-520963540>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABDOCHQODYEN55VWB67ABQ3QEL7WFANCNFSM4ILGF2SQ>
.
|
I can do dt because I am working on it and I have already a branch with new code |
The only thing I do not know how to do is when overwriting the default scripts, lie the plot_ltsa. It needs to be the same name, and when you add the remora, you need to close all the figure of triton and restart to make sure that the new script is on top of the old one. I can't find a better way to do that |
That case seems ok for right now. Probably we will think of a better
solution eventually. Maybe it would be good though to at least print a
message notifying the user and warning about unintended consequences? I'm
thinking about R where this happens a lot - one function from a package
blocks another function with the same name. It's annoying, but I guess it
works ok most of the time.
…On Tue, Aug 13, 2019 at 12:04 PM Alba Solsona ***@***.***> wrote:
The only thing I do not know how to do is when overwriting the default
scripts, lie the plot_ltsa. It needs to be the same name, and when you add
the remora, you need to close all the figure of triton and restart to make
sure that the new script is on top of the old one. I can't find a better
way to do that
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6?email_source=notifications&email_token=ABDOCHT5GKMO2HIDB6ASGS3QEMASPA5CNFSM4ILGF2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4GVBVY#issuecomment-520966359>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABDOCHRV37AMWL72JVUR2FDQEMASPANCNFSM4ILGF2SQ>
.
|
@asolsonaberga Do you think we should figure out a naming convention for all of the remoras we have?
I think it could get confusing if things end up with the same names, etc. Maybe we could discuss briefly.
The text was updated successfully, but these errors were encountered: