Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
API scripts
Commits
f672b03c
Commit
f672b03c
authored
Aug 26, 2021
by
Marek Ostaszewski
Browse files
overlay update
parent
9083bd51
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/API_calculate_overlay_hits.R
View file @
f672b03c
...
...
@@ -68,7 +68,7 @@ token_GET <- function(mnv_base, query, token) {
overlays
<-
fromJSON
(
token_GET
(
map_base
,
"overlays/"
,
token
))
### Select only overlays of this user (not public) that have data behind them
selected_overlays
<-
overlays
[
!
overlays
$
publicOverlay
&
overlays
$
inputDataAvailable
,
c
(
"idObject"
,
"name"
)]
selected_overlays
<-
overlays
[
!
overlays
$
publicOverlay
&
overlays
$
creator
==
login
,
c
(
"idObject"
,
"name"
)]
### Retrieve all elements' ids and names, for later resolution
models
<-
fromJSON
(
token_GET
(
map_base
,
"models/"
,
token
),
flatten
=
F
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment