forked from opensci/piflow
fix bug
This commit is contained in:
parent
917ead7e7f
commit
3d48146b99
|
@ -8,7 +8,7 @@ import java.util.regex.Pattern
|
||||||
import cn.piflow.bundle.microorganism.util.BioProject
|
import cn.piflow.bundle.microorganism.util.BioProject
|
||||||
import cn.piflow.conf.bean.PropertyDescriptor
|
import cn.piflow.conf.bean.PropertyDescriptor
|
||||||
import cn.piflow.conf.util.{ImageUtil, MapUtil}
|
import cn.piflow.conf.util.{ImageUtil, MapUtil}
|
||||||
import cn.piflow.conf.{ConfigurableStop, PortEnum, StopGroupEnum}
|
import cn.piflow.conf.{ConfigurableStop, PortEnum, StopGroup}
|
||||||
import cn.piflow.{JobContext, JobInputStream, JobOutputStream, ProcessContext}
|
import cn.piflow.{JobContext, JobInputStream, JobOutputStream, ProcessContext}
|
||||||
import org.apache.spark.sql.{Row, SparkSession}
|
import org.apache.spark.sql.{Row, SparkSession}
|
||||||
import org.elasticsearch.spark.sql.EsSparkSQL
|
import org.elasticsearch.spark.sql.EsSparkSQL
|
||||||
|
@ -144,7 +144,7 @@ class BioSampleParse extends ConfigurableStop{
|
||||||
}
|
}
|
||||||
|
|
||||||
override def getGroup(): List[String] = {
|
override def getGroup(): List[String] = {
|
||||||
List(StopGroupEnum.MicroorganismGroup.toString)
|
List(StopGroup.MicroorganismGroup.toString)
|
||||||
}
|
}
|
||||||
|
|
||||||
def initialize(ctx: ProcessContext): Unit = {
|
def initialize(ctx: ProcessContext): Unit = {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import java.io._
|
||||||
|
|
||||||
import cn.piflow.conf.bean.PropertyDescriptor
|
import cn.piflow.conf.bean.PropertyDescriptor
|
||||||
import cn.piflow.conf.util.{ImageUtil, MapUtil}
|
import cn.piflow.conf.util.{ImageUtil, MapUtil}
|
||||||
import cn.piflow.conf.{ConfigurableStop, PortEnum, StopGroupEnum}
|
import cn.piflow.conf.{ConfigurableStop, PortEnum, StopGroup}
|
||||||
import cn.piflow.{JobContext, JobInputStream, JobOutputStream, ProcessContext}
|
import cn.piflow.{JobContext, JobInputStream, JobOutputStream, ProcessContext}
|
||||||
import org.apache.spark.sql.{DataFrame, Row, SparkSession}
|
import org.apache.spark.sql.{DataFrame, Row, SparkSession}
|
||||||
import org.elasticsearch.spark.sql.EsSparkSQL
|
import org.elasticsearch.spark.sql.EsSparkSQL
|
||||||
|
@ -271,7 +271,7 @@ class TaxonomyParse extends ConfigurableStop{
|
||||||
}
|
}
|
||||||
|
|
||||||
override def getGroup(): List[String] = {
|
override def getGroup(): List[String] = {
|
||||||
List(StopGroupEnum.MicroorganismGroup.toString)
|
List(StopGroup.MicroorganismGroup.toString)
|
||||||
}
|
}
|
||||||
|
|
||||||
def initialize(ctx: ProcessContext): Unit = {
|
def initialize(ctx: ProcessContext): Unit = {
|
||||||
|
|
Loading…
Reference in New Issue