Skip to content

Commit

Permalink
cleanup comments. update version
Browse files Browse the repository at this point in the history
  • Loading branch information
danielasay committed Jan 17, 2024
1 parent 209521f commit a8aba94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion dwiqc/__version__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__title__ = 'dwiqc'
__description__ = 'Quality Assurance Pipeline for Diffusion MR Data'
__url__ = 'https://github.com/harvard-nrg/dwiqc'
__version__ = '1.3.16'
__version__ = '1.3.17'
__author__ = 'Neuroinformatics Research Group'
__author_email__ = '[email protected]'
15 changes: 0 additions & 15 deletions dwiqc/tasks/qsiprep.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,18 +351,6 @@ def extract_vols(self, dwi_full_path, dwi_basename):

def run_extract(self, dwi_full_path, bval_path, epi_out_path):

#module('load','fsl/6.0.4-ncf')

#print(self._fsl_sif)

#extract_command = f"singularity exec {self._fsl_sif} /APPS/fsl/bin/select_dwi_vols {dwi_full_path} {bval_path} {epi_out_path} 0"

#extract_command = f'select_dwi_vols {dwi_full_path} {bval_path} {epi_out_path} 0'

#proc1 = subprocess.check_output(extract_command, shell=True, stderr=subprocess.STDOUT, text=True)

#logger.info(proc1)

bvec_path = bval_path.replace('.bval', '.bvec')

bvals, bvecs = read_bvals_bvecs(bval_path, bvec_path)
Expand All @@ -382,7 +370,6 @@ def run_extract(self, dwi_full_path, bval_path, epi_out_path):

b0_string = ','.join(b0_volumes)

#extract_command = f"singularity exec {self._fsl_sif} /APPS/fsl/bin/fslselectvols -i {dwi_full_path} -o {epi_out_path} --vols={b0_string}"

os.makedirs(self._outdir, exist_ok=True)

Expand All @@ -395,8 +382,6 @@ def run_extract(self, dwi_full_path, bval_path, epi_out_path):
except subprocess.CalledProcessError as e:
print(e.stdout)

#logger.info(proc1)


def insert_json_value(self, key, value, json_file):
"""
Expand Down

0 comments on commit a8aba94

Please sign in to comment.