Skip to content

Commit

Permalink
Update neuroglancer-utils.R
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbates committed Aug 1, 2024
1 parent 8989745 commit 9aede98
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions R/neuroglancer-utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9aede98

Please sign in to comment.