Skip to content

Commit

Permalink
Better error message in gvtrack.create
Browse files Browse the repository at this point in the history
  • Loading branch information
aviezerl committed Jan 7, 2025
1 parent c59fbac commit 2867daf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: misha
Title: Toolkit for Analysis of Genomic Data
Version: 4.2.13
Version: 4.2.14
Authors@R: c(
person("Misha", "Hoichman", , "[email protected]", role = "aut"),
person("Aviezer", "Lifshitz", , "[email protected]", role = c("aut", "cre")),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# misha 4.2.14

* Better error message in `gvtrack.create`.

# misha 4.2.13

* Added `gdb.create_genome` function.
Expand Down
2 changes: 1 addition & 1 deletion src/TrackExpressionVars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ void TrackExpressionVars::add_vtrack_var(const string &vtrack, SEXP rvtrack)
try {
m_iu.convert_rintervs(rsrc, &intervs1d, &intervs2d);
} catch (TGLException &e) {
verror("Source of virtual track %s was not recognized neither as a track nor as intervals", vtrack.c_str());
verror("Source of virtual track %s was not recognized neither as a track nor as intervals. (\"%s\")", vtrack.c_str(), e.msg());
}
add_vtrack_var_src_interv(rvtrack, vtrack, intervs1d, intervs2d);
}
Expand Down

0 comments on commit 2867daf

Please sign in to comment.