Closed ajstewart closed 9 years ago
well done! Do you know how to squash commits into one?
Ah that's useful, I'll look up how to squash them. Would I then create a new pull request?
no you can force push to your branch. be careful not to destroy your branch though. you can make a backup branch just to be sure.
You were right with the sorting. I figured out how the num_extractedsources works and mimicked it in the lists.py and did some crude filtering on the annotation. It seems to work ok.
last comment, the merged PR#1 is not so pretty. It is better to just try to rebase the master on your branch.
I've made some edits to basically solve my issues in #60. The number of blind and forced extractions is now stated on the image list and detail pages (see example images).
There may be a better way to do this rather than the way I've done, if so I'd be interested to know and feel free to ignore this (I wasn't sure how to mimic 'image.num_extractedsources'). I'm also wondering whether the forced fits column on the image list page is needed, as you can see the difference between the total and blind extracted sources, but maybe it's nice to have it there anyway.
Only thing not addressed is the plot on the dataset overview page. Though I'm not sure what others think on whether this should be changed or not. I think it's minor in any case and I'm happy with this information above now available.