Project

General

Profile

Actions

Bug #42

closed

Pyappion lib folder and import commands

Added by Neil Voss almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
01/20/2010
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Affected Version:
Show in known bugs:
Workaround:

Description

It is necessary for releasing other products, e.g. TiltPicker, pyappion libraries be imported differently.

current implementation:

 import appionScript
 import appiondata

ideal implementation:

 from appion import appionScript
 from appion import appiondata

In the ideal implementation, the library files can be located in a separation location. Under the current implementation, all the files must be located in the root directory.

The SVN repo move would be the ideal opportunity to implement this change. Since the PYTHONPATH variables for individual users needs to change anyway.


Related issues 1 (1 open0 closed)

Related to Leginon - Bug #67: Python imports, absolute vs. relativeAssignedAnchi Cheng01/28/2010

Actions
Actions #1

Updated by Neil Voss almost 15 years ago

  • Status changed from New to 4
  • Assignee set to Amber Herold
  • % Done changed from 0 to 100
  • Estimated time set to 1.00 h

Made the change with revisions, r12896, r12895, and r12894. Requires a change to PYTHONPATH variable, but so does the myami change.

Actions #2

Updated by Amber Herold almost 15 years ago

  • Status changed from 4 to Assigned
  • Assignee changed from Amber Herold to Neil Voss

There is a problem with multiple imports on a single line....

Actions #3

Updated by Neil Voss almost 15 years ago

  • Status changed from Assigned to In Code Review

fix for comma separated imports and missing Loop libraries, r12897

Actions #4

Updated by Amber Herold almost 15 years ago

  • Status changed from In Code Review to Closed
Actions #5

Updated by Neil Voss over 14 years ago

  • Assignee deleted (Neil Voss)
Actions

Also available in: Atom PDF