Skip to content

Commit

Permalink
check outdir
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaibao committed May 10, 2024
1 parent 45a8806 commit d9dc510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
cache: 'pip'

- name: Install BEDTools (Linux)
run: sudo apt-get install bedtools
run: sudo apt-get install bedtools freetype imagemagick
if: matrix.os == 'ubuntu-latest'

- name: Install BEDTools (macOS)
run: brew install bedtools
run: brew install bedtools freetype imagemagick
if: matrix.os == 'macos-13'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion jcvi/graphics/grabseeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ def seeds(args):
ff = opts.filter
calib = opts.calibrate
outdir = opts.outdir
if outdir != ".":
if outdir and outdir != ".":
mkdir(outdir)
if calib:
calib = json.load(must_open(calib))
Expand Down

0 comments on commit d9dc510

Please sign in to comment.