Skip to content

Commit

Permalink
debugging env
Browse files Browse the repository at this point in the history
  • Loading branch information
miloswrath committed Dec 2, 2024
1 parent f52ed89 commit 0547847
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions code/orchestrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
import argparse
import sys

OBSDIR = '/Volumes/vosslabhpc/Projects/BOOST/InterventionStudy/3-Experiment/data/bids'
INTDIR = '/Volumes/vosslabhpc/Projects/BOOST/ObersvationalStudy/3-Experiment/data/bids'
RDSSDIR = '/Volumes/VossLab/Repositories/Accelerometer_Data/'
OBSDIR = '/mnt/vosslab-svc/vosslabhpc/Projects/BOOST/InterventionStudy/3-Experiment/data/bids'
INTDIR = '/mnt/vosslab-svc/vosslabhpc/Projects/BOOST/ObersvationalStudy/3-Experiment/data/bids'
RDSSDIR = 'mnt/vosslab-svc/rdss_vosslab/Repositories/Accelerometer_Data/'
TXT = './resources/files.txt'


Expand All @@ -27,14 +27,14 @@ def parse_args():

def init_servers():
#this should connect the linux machine to the RDSS and LSS

os.system("mkdir -p /mnt/vosslab-svc/tmp")
try:
os.system("sudo mount -t cifs //itf-rs-store24.hpc.uiowa.edu/vosslabhpc /home/vosslab-svc/tmp/vosslabhpc -o uid=vosslab-svc,username=vosslab-svc,vers=3.0")
os.system("sudo mount -t cifs //itf-rs-store24.hpc.uiowa.edu/vosslabhpc /mnt/vosslab-svc/tmp/vosslabhpc -o uid=vosslab-svc,username=vosslab-svc,vers=3.0")
except Exception as e:
print(f'An error occured trying to connect to LSS: {e}')
sys.exit(1)
try:
os.system("sudo mount -t cifs //rdss.iowa.uiowa.edu/rdss_mwvoss/VossLab /mnt/nfs/rdss/rdss_vosslab -o user=vosslab-svc,uid=2418317,gid=900001021")
os.system("sudo mount -t cifs //rdss.iowa.uiowa.edu/rdss_mwvoss/VossLab /mnt/vosslab-svc/tmp/rdss_vosslab -o user=vosslab-svc,uid=2418317,gid=900001021")
except Exception as e:
print(f'An error occured trying to connect to RDSS: {e}')
sys.exit(1)
Expand Down

0 comments on commit 0547847

Please sign in to comment.