Export HGVS.
[lightning.git] / hgvs / diff.go
index a6366eb36f69c2b7d22b69dc854dee16e116ea18..e5377d6bacff8eb3860df99a3592a491df088144 100644 (file)
@@ -15,6 +15,8 @@ type Variant struct {
 
 func (v *Variant) String() string {
        switch {
+       case len(v.New) == 0 && len(v.Ref) == 0:
+               return fmt.Sprintf("%d=", v.Position)
        case len(v.New) == 0 && len(v.Ref) == 1:
                return fmt.Sprintf("%ddel", v.Position)
        case len(v.New) == 0: