Skip to content

Commit

Permalink
Fixes for Docker build. Added explicit installs for major python3 pac…
Browse files Browse the repository at this point in the history
…kage dependencies
  • Loading branch information
jmtyszka committed Dec 20, 2019
1 parent 3e328f8 commit 765049b
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 195 deletions.
4 changes: 2 additions & 2 deletions bidskit/organize.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

import os
import shutil
import bidskit.translate as btr
import bidskit.io as bio
from . import translate as btr
from . import io as bio
import copy


Expand Down
13 changes: 11 additions & 2 deletions bidskit/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import json
import re
import subprocess
import datetime as dt
import numpy as np

from glob import glob
Expand Down Expand Up @@ -392,7 +391,17 @@ def auto_run_no(file_list, prot_dict):

# Parse dcm2niix filename into relevant keys, including suffix
info = parse_dcm2niix_fname(fname)
_, bids_suffix, _ = prot_dict[info['SerDesc']]

ser_desc = info['SerDesc']

if ser_desc in prot_dict:
_, bids_suffix, _ = prot_dict[info['SerDesc']]
else:
print('')
print('* Series description {} missing from code/Protocol_Translator.json'.format(ser_desc))
print('* Please use EXCLUDE_BIDS_Directory and EXCLUDE_BIDS_Name instead of deleting a series entry')
print('* Exiting')
sys.exit(1)

# Construct a unique series description using multirecon suffix
ser_suffix = bids_suffix + '_' + info['Suffix']
Expand Down
76 changes: 0 additions & 76 deletions venv/bin/activate

This file was deleted.

37 changes: 0 additions & 37 deletions venv/bin/activate.csh

This file was deleted.

75 changes: 0 additions & 75 deletions venv/bin/activate.fish

This file was deleted.

Binary file removed venv/bin/python
Binary file not shown.
Binary file removed venv/bin/python3
Binary file not shown.
Binary file removed venv/bin/python3.7
Binary file not shown.
3 changes: 0 additions & 3 deletions venv/pyvenv.cfg

This file was deleted.

0 comments on commit 765049b

Please sign in to comment.