Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EmbryoGen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FIJI
EmbryoGen
Commits
d4076dbc
Commit
d4076dbc
authored
6 years ago
by
Vladimír Ulman
Browse files
Options
Downloads
Patches
Plain Diff
COS: CellCycle::triggerCycleMethods() has more useful "not-initialized" message,
"length" -> "duration" in the docs
parent
7adf7c6c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DrosoGen/src/Agents/util/CellCycle.h
+4
-4
4 additions, 4 deletions
DrosoGen/src/Agents/util/CellCycle.h
with
4 additions
and
4 deletions
DrosoGen/src/Agents/util/CellCycle.h
+
4
−
4
View file @
d4076dbc
...
@@ -62,11 +62,11 @@ public:
...
@@ -62,11 +62,11 @@ public:
// hence, this call is postponed into startCycling(), and this method
// hence, this call is postponed into startCycling(), and this method
// was made unavoidable as it is the only that provides the global time
// was made unavoidable as it is the only that provides the global time
/** the (informative) cell cycle
length
[min] */
/** the (informative) cell cycle
duration
[min] */
const
float
fullCycleDuration
;
const
float
fullCycleDuration
;
protected
:
protected
:
/** the
length
of individual cell cycle phases [min] */
/** the
durations
of individual cell cycle phases [min] */
float
phaseDurations
[
8
]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
float
phaseDurations
[
8
]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
/** override-able pie-slicing of the fullCycleDuration, this
/** override-able pie-slicing of the fullCycleDuration, this
...
@@ -83,7 +83,7 @@ protected:
...
@@ -83,7 +83,7 @@ protected:
}
}
public
:
public
:
/** read-only accessor to the
length
s of the individual phases */
/** read-only accessor to the
duration
s of the individual phases */
float
getPhaseDuration
(
const
ListOfPhases
phase
)
const
float
getPhaseDuration
(
const
ListOfPhases
phase
)
const
{
{
return
phaseDurations
[
phase
];
return
phaseDurations
[
phase
];
...
@@ -173,7 +173,7 @@ public:
...
@@ -173,7 +173,7 @@ public:
void
triggerCycleMethods
(
const
float
currentGlobalTime
)
void
triggerCycleMethods
(
const
float
currentGlobalTime
)
{
{
if
(
curPhase
==
newBorn
)
if
(
curPhase
==
newBorn
)
throw
ERROR_REPORT
(
"Not yet fully initialized cell cycle"
);
throw
ERROR_REPORT
(
"Not yet fully initialized cell cycle
; did you call startCycling()?
"
);
//beyond the cell cycle, do nothing
//beyond the cell cycle, do nothing
if
(
curPhase
==
RestInPeace
)
return
;
if
(
curPhase
==
RestInPeace
)
return
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment