Project

General

Profile

Actions

Bug #1095

closed

"ERROR: undefined outdir" in Frealign Job Uploader

Added by Lauren Fisher almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Amber Herold
Category:
Web interface
Start date:
12/16/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.1.0
Show in known bugs:
No
Workaround:

Description

Got this error when trying to upload a frealign reconstruction. Error message comes from inc/processing.inc when $outdir is empty. The problem is there is no $outdir in uploadFrealign.php because it is called $rundir/$jobpath. I think adding a hidden input line setting $outdir to $jobpath will fix this. However, this brings up the problem of appion code not being standardized. Depending on who wrote the code output directories may be called outdir, rundir, path, reconpath, jobpath, etc. And this is just one example of inconsistencies. I know this is not a new issue and the solution is impractical and time consuming, but just wanted to bring it up to see if anyone has any suggestions on how to avoid coding conflicts. Also, as a new appion coder, I don't know which style to follow. Any suggestions?

Actions

Also available in: Atom PDF