natverse / rcatmaid

R package providing API access to the CATMAID web image annotation tool
https://natverse.github.io/rcatmaid
GNU General Public License v3.0
9 stars 6 forks source link

Some catmaid_version calls do not use supplied connection object #150

Closed jefferis closed 4 years ago

jefferis commented 4 years ago
conn_main = catmaid_connection(server = "https://neuropil.janelia.org/tracing/fafb/v14",
                               token="MY TOKEN")
n_57122_conn = catmaid_get_connector_table(57122, direction = "incoming", conn = conn_main)

errors out

Error in catmaid_connection(...) : Must provide a valid https server
 Error in catmaid_login(conn = conn) : Unauthorized (HTTP 401). 
5. stop(http_condition(x, "error", task = task, call = call)) 
4. stop_for_status(conn$authresponse) at catmaid_connection.R#185
3. catmaid_login(conn = conn) at catmaid_connection.R#510
2. catmaid_version(numeric = TRUE) at catmaid_skeleton.R#240
1. catmaid_get_connector_table(57122, direction = "incoming", conn = creds)