-
Notifications
You must be signed in to change notification settings - Fork 29
Evaluate segmentation in infer neurons task #8221
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
Changes from all commits
b2d9627
ac88d7d
0fa0cfd
3258794
785ddff
bda408e
92b6169
67a55ff
63bade2
870b589
581ed00
2e2d915
9b713b7
d76197b
c5f82f1
55cd8ac
5c7c707
6055346
97cd24c
db3e4d1
4ee1467
213d110
23a95fe
1a7c1eb
282786d
7ca5d48
5f07ad6
8ad0409
9d6572c
e2a045e
e819687
be88173
9be4af9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -54,6 +54,7 @@ case class Job( | |||||
def datasetId: Option[String] = argAsStringOpt("dataset_id") | ||||||
|
||||||
private def argAsStringOpt(key: String) = (commandArgs \ key).toOption.flatMap(_.asOpt[String]) | ||||||
private def argAsBooleanOpt(key: String) = (commandArgs \ key).toOption.flatMap(_.asOpt[Boolean]) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looks unformatted: To format the backend code you can use |
||||||
|
||||||
def resultLink(organizationId: String): Option[String] = | ||||||
if (effectiveState != JobState.SUCCESS) None | ||||||
|
@@ -66,6 +67,10 @@ case class Job( | |||||
}.getOrElse(datasetName.map(name => s"datasets/$organizationId/$name/view")) | ||||||
case JobCommand.export_tiff | JobCommand.render_animation => | ||||||
Some(s"/api/jobs/${this._id}/export") | ||||||
case JobCommand.infer_neurons if this.argAsBooleanOpt("do_evaluation").getOrElse(false) => | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
returnValue.map { resultAnnotationLink => | ||||||
resultAnnotationLink | ||||||
} | ||||||
Comment on lines
+70
to
+73
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While trying to open the created evaluation annotation I just noticed a little bug: As a result I got the following link in the jobs page: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh wait, I misread the link. The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Mööööppp! Wrong 🔴 The fix is to replace |
||||||
case JobCommand.infer_nuclei | JobCommand.infer_neurons | JobCommand.materialize_volume_annotation | | ||||||
JobCommand.infer_with_model | JobCommand.infer_mitochondria | JobCommand.align_sections => | ||||||
// Old jobs before the dataset renaming changes returned the output dataset name. | ||||||
|
Uh oh!
There was an error while loading. Please reload this page.