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

Instrumentation for RegressPhenotypes #18

Closed
wants to merge 2 commits into from
Closed

Instrumentation for RegressPhenotypes #18

wants to merge 2 commits into from

Conversation

nathanielparke
Copy link
Contributor

Adds in instrumentation for RegressPhenotypes which can be ported to other section of code when the need arises.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@devin-petersohn
Copy link
Member

pinging @fnothaft @heuermh to approve Jenkins build test.

@heuermh
Copy link
Member

heuermh commented Feb 18, 2017

I was waiting on a successful build for #12 before adding other pull requests to Jenkins.

// Log the results
logResults(associations, sc)
}

def print_metrics_to_cmdline(metricsListener: MetricsListener) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use camelCase for method names

@@ -95,6 +97,9 @@ class RegressPhenotypesArgs extends Args4jBase {

@Args4jOption(required = false, name = "-oneTwo", usage = "If cases are 1 and controls 2 instead of 0 and 1")
var oneTwo = false

@Args4jOption(required = false, name = "-time", usage = "Prints out the timing information for RegressPhenotypes to commandline.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in ADAM we use -print_metrics for this, which comes from bdg-utils

https://github.com/bigdatagenomics/utils/blob/master/utils-cli/src/main/scala/org/bdgenomics/utils/cli/Args4j.scala#L26

Or am I missing the use case here?

@@ -107,6 +112,11 @@ class RegressPhenotypes(protected val args: RegressPhenotypesArgs) extends BDGSp
val a = args.oneTwo
// println(s"\n\n\n\n\n\n oneTwo: $a \n\n\n\n\n\n\n\n")

import Timers._
Metrics.initialize(sc)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@heuermh
Copy link
Member

heuermh commented Mar 1, 2017

Jenkins, add to whitelist

p-yang pushed a commit to p-yang/gnocchi that referenced this pull request Apr 28, 2017
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

Successfully merging this pull request may close these issues.

None yet

4 participants