Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataDir no default #14

Closed
jwillis0720 opened this issue Feb 26, 2016 · 0 comments
Closed

DataDir no default #14

jwillis0720 opened this issue Feb 26, 2016 · 0 comments

Comments

@jwillis0720
Copy link
Collaborator

If you specificy a datadir and its not there, the program fails. Might I suggest making one by default like you have done for input dir and outdir and tempdir. a lot of people probably dont have the permission to modify and access root level data.

  output_dir = abstar.run_standalone(args)
  File "/dnas/apps/anaconda/lib/python2.7/site-packages/abstar-0.1.0-py2.7.egg/abstar/abstar.py", line 538, in run_standalone
    setup_logging(args)
  File "/dnas/apps/anaconda/lib/python2.7/site-packages/abstar-0.1.0-py2.7.egg/abstar/abstar.py", line 211, in setup_logging
    log.setup_logging(logfile, debug=args.debug, print_debug=print_debug)
  File "/dnas/apps/anaconda/lib/python2.7/site-packages/abtools-0.1.0-py2.7.egg/abtools/log.py", line 42, in setup_logging
    level=logging.INFO)
  File "/dnas/apps/anaconda/lib/python2.7/logging/__init__.py", line 1545, in basicConfig
    hdlr = FileHandler(filename, mode)
  File "/dnas/apps/anaconda/lib/python2.7/logging/__init__.py", line 911, in __init__
    StreamHandler.__init__(self, self._open())
  File "/dnas/apps/anaconda/lib/python2.7/logging/__init__.py", line 941, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: u'/dnas/home/jwillis/sequencing/NextSeq/joined/data/ab
@briney briney closed this as completed Jan 24, 2020
briney pushed a commit that referenced this issue Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants