From 539e25fd219f638c235683e55950fab1085c06f5 Mon Sep 17 00:00:00 2001 From: Edmund Higham Date: Tue, 1 Oct 2024 16:03:07 -0400 Subject: [PATCH] fix ReferenceGenome serialisation --- hail/src/main/scala/is/hail/variant/ReferenceGenome.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hail/src/main/scala/is/hail/variant/ReferenceGenome.scala b/hail/src/main/scala/is/hail/variant/ReferenceGenome.scala index 7d7c3317e25a..ca9b939db265 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))