Skip to content

Commit

Permalink
Make change in oasis utils
Browse files Browse the repository at this point in the history
  • Loading branch information
AliceJoubert committed Oct 9, 2024
1 parent ebfb270 commit 715839b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,7 @@ def create_sessions_dict(
# Load the file
tmp = field_location[i].split("/")
location = tmp[0]
if len(tmp) > 1:
sheet = tmp[1]
else:
sheet = ""

sheet = tmp[1] if len(tmp) > 1 else 0
file_to_read_path = clinical_data_dir / location
file_ext = os.path.splitext(location)[1]
if file_ext == ".xlsx":
Expand Down

0 comments on commit 715839b

Please sign in to comment.