diff --git a/hail/src/main/scala/is/hail/variant/ReferenceGenome.scala b/hail/src/main/scala/is/hail/variant/ReferenceGenome.scala index 7d7c3317e25..ca9b939db26 100644 --- a/hail/src/main/scala/is/hail/variant/ReferenceGenome.scala +++ b/hail/src/main/scala/is/hail/variant/ReferenceGenome.scala @@ -451,7 +451,7 @@ case class ReferenceGenome( override def toString: String = name - implicit private[this] val fmts: Formats = DefaultFormats + @transient implicit private[this] val fmts: Formats = DefaultFormats def write(fs: is.hail.io.fs.FS, file: String): Unit = using(fs.create(file))(out => Serialization.write(toJSON, out))