From 9aede985b585cee28540d61c76c6a1bcd9bcc113 Mon Sep 17 00:00:00 2001 From: alexanderbates Date: Thu, 1 Aug 2024 16:35:00 -0400 Subject: [PATCH] Update neuroglancer-utils.R --- R/neuroglancer-utils.R | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/R/neuroglancer-utils.R b/R/neuroglancer-utils.R index bf87d76..bab44a5 100644 --- a/R/neuroglancer-utils.R +++ b/R/neuroglancer-utils.R @@ -182,6 +182,15 @@ def process_large_integer(int64_str): def process_large_integer(large_int_str): # Convert the string back to an integer in Python large_int = int(large_int_str) + print(f'Received integer from character: {large_int}') + print(f'Type in Python: {type(large_int)}') + # Your processing logic here + return large_int # or whatever you want to return +") + }else{ + reticulate::py_run_string(" +def process_large_integer(large_int): + # Convert the string back to an integer in Python print(f'Received integer: {large_int}') print(f'Type in Python: {type(large_int)}') # Your processing logic here