Project

General

Profile

Actions

Bug #267

closed

Run name numbers should increment by type not tool

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
03/29/2010
Due date:
% Done:

100%

Estimated time:
Affected Version:
Show in known bugs:
Workaround:

Description

I think the runnames should go like

dogrun1, tmplrun2, dogrun3, tiltrun4, tmplrun5, etc.

NOT
dogrun1, tmplrun1, dogrun2, tiltrun1, tmplrun2, etc.

We can debate this if you want to change it back.

Actions #1

Updated by Neil Voss over 14 years ago

  • Status changed from Assigned to In Code Review
  • Assignee changed from Neil Voss to Amber Herold
  • % Done changed from 0 to 100

changed to do this, it's a quick fix to revert.

Actions #2

Updated by Amber Herold over 14 years ago

  • Assignee changed from Amber Herold to Neil Voss

Neil,
This name is confusing: getLastRunNumberType
It returns a number rather than a type, correct?
Also, why does runMaskMaker.php still use getLastRunNumber()?
If you need to keep both functions available, it would be nice to provide function headers explaining the difference.
It seems to me that the original function is more precisely getting the run number by run type and the new one is more general.

Actions #3

Updated by Neil Voss over 14 years ago

  • Assignee changed from Neil Voss to Amber Herold

In r13458, I changed getLastRunNumberType() to getLastRunNumberForType(), so it makes sense that would return a number not a type, we could also use getLastRunNumberForRunType().

I did not change Mask programs, because I know little about them and I am not even sure if they currently work.

Actions #4

Updated by Amber Herold over 14 years ago

  • Status changed from In Code Review to In Test
  • Assignee changed from Amber Herold to Neil Voss
Actions #5

Updated by Neil Voss over 14 years ago

  • Assignee changed from Neil Voss to Dmitry Lyumkis
Actions #6

Updated by Neil Voss over 14 years ago

  • Target version set to Appion/Leginon 2.0.0
Actions #7

Updated by Neil Voss over 14 years ago

  • Assignee changed from Dmitry Lyumkis to Anke Mulder

Dmitry is gone.

Actions #8

Updated by Anke Mulder over 14 years ago

  • Status changed from In Test to Closed

The incrementing works as suggested now.

Actions

Also available in: Atom PDF