Project

General

Profile

Actions

Feature #5471

closed

Restrict reference session research and creation to a specified path

Added by Anchi Cheng over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
01/27/2018
Due date:
% Done:

0%

Estimated time:
Deliverable:

Description

It makes if possible to have reference sessions saved in a separate disk. Useful when there are disk failures.

With the old implementation, this is always the same as Image path head in leginon.cfg


Related issues 1 (0 open1 closed)

Related to Leginon - Feature #5923: add data type to batch_leginon_path_change.py to move referencesClosedAnchi Cheng07/30/2018

Actions
Actions #1

Updated by Anchi Cheng over 6 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from when file system hangs, getReference session also fails regardless of session image path change to Restrict reference session research and creation to a specified path
  • Description updated (diff)

The original access validation in researchReference already take care of access problem. Therefore, the restriction applys only when a specific path is given in leginon.cfg

Add the following config in leginon.cfg if this restriction is desirable:

[References]
path: /your_specific_path_head_before_sessionname
Actions #2

Updated by Anchi Cheng over 6 years ago

  • Status changed from Assigned to Closed

Add also a way for myamiweb redux server to avoid serving a path. Needed this because some users have imageviewer opens automatically when opening their web browser, causing it to try to load an old session that is not accessible and freezes the system.

To use, uncommand or add the constant definitiion

define('REDUX_AVOID_PATH',"/your_path_to_avoid");

tested locally.

Actions #3

Updated by Anchi Cheng almost 6 years ago

  • Related to Feature #5923: add data type to batch_leginon_path_change.py to move references added
Actions

Also available in: Atom PDF