[med-svn] [aghermann] 24/85: tree-scanner: make sure subject gets a name (use id if name missing)
andrei zavada
hmmr-guest at alioth.debian.org
Thu Sep 26 23:46:25 UTC 2013
This is an automated email from the git hooks/post-receive script.
hmmr-guest pushed a commit to branch master
in repository aghermann.
commit f96203c1ed580ad5049c0ec7e69a0d5970fe50d2
Author: Andrei Zavada <johnhommer at gmail.com>
Date: Sun Sep 15 02:05:45 2013 +0300
tree-scanner: make sure subject gets a name (use id if name missing)
---
upstream/src/aghermann/expdesign/tree-scanner.cc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/upstream/src/aghermann/expdesign/tree-scanner.cc b/upstream/src/aghermann/expdesign/tree-scanner.cc
index d0f3511..8f02ab4 100644
--- a/upstream/src/aghermann/expdesign/tree-scanner.cc
+++ b/upstream/src/aghermann/expdesign/tree-scanner.cc
@@ -372,6 +372,12 @@ scan_tree( TMsmtCollectProgressIndicatorFun user_progress_fun)
G.second.avg_episode_times[D][E] =
avg_tm( tms[D][E]);
}
+
+ // name subjects for whom only id is known
+ for ( auto &G : groups )
+ for ( auto &J : G.second )
+ if ( J.name.empty() )
+ J.name = J.id;
}
--
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git
More information about the debian-med-commit
mailing list