fixing wrong output directory in afni base gen_filename
Merge branch 'master' into bug/afni

* master:
  changelog
  DOctest fix
  PEP8
  add doc
  DOC: Update info on Condor and its plugins.
  DOC: Fix documentation glitch
  BF: Use unique filenames for DAGMan workflows
  enh: remove logger dump added in 9d6b1a86921982b84f17b75ebf1a515f1d8710f7
  fix in NewSegment warp field output options
  fix: ensure that commandline calls force terminal output if stdout or stderr is required
  fix: failing flirt test
  fix: doctest for commandline
  doc: added change note
  enh: allow commandline interfaces to control terminal output
  adding trim interface that keeps the original dtype storage
Fixing Resample inheritance
Allow out_file to be alternatively not generated
Merge branch 'master' into bug/afni

* master:
  added maths.MaxImage examples
  test maths.MaxImage for fslmaths -Tmax option
  add maths.MaxImage for fslmaths -Tmax option
  fix: change type of loops,speedup and between loops so its compatible with changes in the nipy code
fixing Automask
abspath for Automask
Merge pull request #504 from bpinsard/bug/afni

fixing wrong output directory in afni base gen_filename