qtop icon indicating copy to clipboard operation
qtop copied to clipboard

easy feature request: perform a dirname on the -s parameter

Open fgeorgatos opened this issue 8 years ago • 1 comments

instead of failing, we could be striping away the filename, ie. dirname

$ module load sge;./qtop/qtop.py -FGrr -s myqtoptest/qstat.F.xml.stdout
Traceback (most recent call last):
  File "./qtop/qtop.py", line 2358, in <module>
    options = init_dirs(options, savepath)
  File "./qtop/qtop.py", line 780, in init_dirs
    os.chdir(options.workdir)
OSError: [Errno 20] Not a directory: '/home/robinhood/myqtoptest/qstat.F.xml.stdout'

fgeorgatos avatar May 08 '17 12:05 fgeorgatos

or, you know, you could just type in what the command expects ...

sfranky avatar May 08 '17 14:05 sfranky