-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update analysis functions to work on ocs archived fits images #113
Conversation
@@ -6,7 +6,7 @@ | |||
title="Get histogram from the selected rectangle region." | |||
class="button" | |||
:class="{ 'is-loading': region_histogram_loading }" | |||
:disabled="!large_fits_exists && !small_fits_exists" | |||
:disabled="!this.current_image.fits_filename" |
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.
Unexpected usage of 'this'.
:disabled="!this.current_image.fits_filename" | |
:disabled="!current_image.fits_filename" |
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.
@jnation3406 are these red herrings? I don't believe this
works in templates?
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 think this does work in templates, but its a stylistic thing. I'm happy to remove them.
@@ -16,7 +16,7 @@ | |||
<button | |||
class="button" | |||
:class="{ 'is-loading': image_histogram_loading }" | |||
:disabled="!large_fits_exists && !small_fits_exists" | |||
:disabled="!this.current_image.fits_filename" |
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.
Unexpected usage of 'this'.
:disabled="!this.current_image.fits_filename" | |
:disabled="!current_image.fits_filename" |
@@ -6,7 +6,7 @@ | |||
title="Only inspect the selected rectangle region." | |||
class="button" | |||
:class="{'is-loading':region_stats_loading}" | |||
:disabled="!large_fits_exists && !small_fits_exists" | |||
:disabled="!this.current_image.fits_filename" |
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.
Unexpected usage of 'this'.
:disabled="!this.current_image.fits_filename" | |
:disabled="!current_image.fits_filename" |
@@ -16,7 +16,7 @@ | |||
<button | |||
class="button" | |||
:class="{'is-loading':image_stats_loading}" | |||
:disabled="!large_fits_exists && !small_fits_exists" | |||
:disabled="!this.current_image.fits_filename" |
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.
Unexpected usage of 'this'.
:disabled="!this.current_image.fits_filename" | |
:disabled="!current_image.fits_filename" |
title="first draw a line on the image to inspect" | ||
class="button" | ||
:class="{'is-loading': analysisInProgress}" | ||
:disabled="!this.current_image.fits_filename" |
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.
Unexpected usage of 'this'.
:disabled="!this.current_image.fits_filename" | |
:disabled="!current_image.fits_filename" |
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.
Looks good! Just a question about the eslint checks
@@ -6,7 +6,7 @@ | |||
title="Get histogram from the selected rectangle region." | |||
class="button" | |||
:class="{ 'is-loading': region_histogram_loading }" | |||
:disabled="!large_fits_exists && !small_fits_exists" | |||
:disabled="!this.current_image.fits_filename" |
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.
@jnation3406 are these red herrings? I don't believe this
works in templates?
This won't work until the photonranch-api change is merged, but its safe to deploy before then.