Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion core/src/main/scala/io/projectglow/Glow.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import io.projectglow.transformers.util.{SnakeCaseMap, StringUtils}
* We should expose as little functionality as is necessary through this object and should prefer
* generic methods with stringly-typed arguments to reduce language-specific maintenance burden.
*/
object Glow {
class Glow {

/**
* Apply a named transformation to a DataFrame of genomic data. All parameters apart from the
Expand Down Expand Up @@ -58,6 +58,8 @@ object Glow {
.load(classOf[DataFrameTransformer])
}

object Glow extends Glow

trait DataFrameTransformer extends Named {
def transform(df: DataFrame, options: Map[String, String]): DataFrame
}