Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,11 @@ The following table lists the versions supported of the main dependencies
| datalake-spark3 | `3.2.2` | `1.2.0` | `1.2.1` | `2.12` `2.13` | `1.0.6` |

## release

```
```shell
sbt "publishSigned; sonatypeRelease"
```

## local release
```shell
sbt VERSION=14.14.2-SNAPSHOT sbt publishLocal
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

```
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@ object OmimPhenotype {
val parse_pheno: UserDefinedFunction = udf { raw: String =>
raw match {
case pheno_regexp(name, omim_id, inheritance) =>
val omimIdValue: Option[String] = Option(omim_id)
val inheritanceValue: Option[String] = Option(inheritance)
Some(
OmimPhenotype(
name.replace("{", "").replace("}", "").trim,
omim_id.trim,
mapInheritance(inheritance),
mapInheritanceCode(inheritance)
omimIdValue.map(_.trim).getOrElse(""),
mapInheritance(inheritanceValue.map(_.trim).orNull),
mapInheritanceCode(inheritanceValue.map(_.trim).orNull)
)
)
case _ => None
Expand Down