View exportMD5.py
import bridgeclient | |
import hashlib | |
import pandas as pd | |
import synapseclient as sc | |
import argparse | |
SYNAPSE_TABLES = { | |
'journey-pro': 'syn11439373', | |
'elevate-ms': 'syn11439398', | |
'lilly-presence': 'syn11445782'} |
View compute_md5.py
""" | |
Compute MD5 hashes of files in a local directory or in an S3 bucket. | |
Outputs a CSV file with columns `path` and `md5`. | |
When computing MD5 hashes of objects in an S3 bucket, `path` corresponds | |
to the S3 URI. | |
""" | |
import multiprocessing as mp | |
import boto3 as boto | |
import pandas as pd |
View change_sharing_scope.R
library(synapser) | |
library(tidyverse) | |
PROJECT_ID <- "syn12030321" | |
UDALL_USERS <- "syn18691020" | |
AT_HOME_PD_USERS <- "syn16786935" | |
get_users <- function(user_table_id) { | |
user_table <- as_tibble(synTableQuery(paste( |
OlderNewer