Skip to content

Commit

Permalink
bug fix in downsampling function and documentation improvement
Browse files Browse the repository at this point in the history
before error: TypeError: zip argument #2 must support iteration, line 163
  • Loading branch information
kkoetter committed Sep 3, 2020
1 parent 5f47b51 commit 54c0f5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fimpy/pipeline/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def _downsample_block(dataset, old_block, filename, factor, method):

def downsample(
dataset: SplitDataset,
downsampling=2,
downsampling= (1, 1, 2, 2),
proc_block_shape=None,
crop=None,
output_dir=None,
Expand All @@ -145,7 +145,7 @@ def downsample(
""" Donwsamples a dataset
:param dataset:
:param downsampling:
:param downsampling: tuple of 4 (original, original, ds_factor, ds_factor)
:param crop:
:param output_dir:
:param n_jobs:
Expand Down

0 comments on commit 54c0f5d

Please sign in to comment.