-
Notifications
You must be signed in to change notification settings - Fork 4
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
use forced_phot dependency instead of copied code #408
Conversation
Replace the copied version of forced_phot with a pip depdendency to the forced_phot repo. Closes askap-vast/forced_phot#4.
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.
The pipeline changes look good, but on the forced photometry side I agree with the steps that @srggrs said:
- move the code out of __init__.py and into forced_phot.py
- make a tag and a release
- set up the git submodule in Vast pipeline with reference to a specific tag
The last one has been done, it would be good to do the first two as well.
@@ -12,6 +12,7 @@ django-q==1.3.3 | |||
django-tagulous @ git+https://github.com/marxide/django-tagulous.git@65cbbf703c4af9c1287681788a27217535c44921 | |||
djangorestframework-datatables==0.5.1 | |||
djangorestframework==3.11.0 | |||
forced-phot @ git+https://github.com/askap-vast/[email protected] |
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.
is that repo public?
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.
I guess while this repo is also still private that one also doesn't need to be. We should make sure both become public when the pipeline is made public however, maybe create a specific issue so we don't forget.
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.
I don't think the tests I run cover that specific case. I see this when I run both the master version and this version with debug logging on:
The forced_measurement parquet files are also identical, except for the component names that are based on a timestamp. |
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.
I've tested this myself and it is working ok. Good to go.
Replace the copied version of forced_phot with a pip depdendency to the forced_phot repo.
Closes askap-vast/forced_phot#4.