Skip to content
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

Open
kfrasier opened this issue Aug 13, 2019 · 6 comments
Open

Naming conventions? #6

kfrasier opened this issue Aug 13, 2019 · 6 comments

Comments

@kfrasier
Copy link
Collaborator

@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.

@asolsonaberga
Copy link
Collaborator

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.

@asolsonaberga
Copy link
Collaborator

@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

@kfrasier
Copy link
Collaborator Author

kfrasier commented Aug 13, 2019 via email

@asolsonaberga
Copy link
Collaborator

I can do dt because I am working on it and I have already a branch with new code

@asolsonaberga
Copy link
Collaborator

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

@kfrasier
Copy link
Collaborator Author

kfrasier commented Aug 13, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants