Skip to content

Commit 3b18316

Browse files
author
allywarner
committed
Merge branch 'SCIInstitute/master'
2 parents 4846ea0 + 83cc59c commit 3b18316

File tree

72 files changed

+6162
-4573
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+6162
-4573
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ For documentation, please see: http://sciinstitute.github.io/SCIRun/
6767
* Parallel make builds can be used as long the Boost target is built first, for example:
6868
- make -j4 Boost_external && make -j4
6969

70+
### Tagging releases
71+
On an OSX system, run script `release.sh` in the `src` directory with the release name in format `alpha.XX` as a parameter.
72+
7073
### Questions and Answers
7174
For help, email the testing mailing list at [email protected].
7275

src/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ git_describe(VERSION_TAG --tag)
106106
git_describe(VERSION_BRANCH --all)
107107
get_git_head_revision(VERSION_REFSPEC VERSION_HASHVAR)
108108

109+
IF(VERSION_TAG MATCHES "HEAD-HASH-NOTFOUND")
110+
FILE(READ ${CMAKE_CURRENT_SOURCE_DIR}/LATEST_TAG.txt VERSION_TAG)
111+
MESSAGE(STATUS "Found tag file for version info: " "${VERSION_TAG}")
112+
ENDIF()
113+
109114
MESSAGE(STATUS "Git version tag: " "${VERSION_TAG}")
110115
MESSAGE(STATUS "Git version branch: " "${VERSION_BRANCH}")
111116
MESSAGE(STATUS "Git version commit hash: " "${VERSION_HASHVAR}")

src/Core/Algorithms/Base/AlgorithmBase.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,11 @@ std::vector<std::string> Core::Algorithms::toStringVector(const Variable::List&
458458
return toTypedVector<std::string>(list, [](const Variable& v) { return v.toString(); });
459459
}
460460

461+
std::vector<std::string> Core::Algorithms::toNameVector(const Variable::List& list)
462+
{
463+
return toTypedVector<std::string>(list, [](const Variable& v) { return v.name().name(); });
464+
}
465+
461466
std::vector<double> Core::Algorithms::toDoubleVector(const Variable::List& list)
462467
{
463468
return toTypedVector<double>(list, [](const Variable& v) { return v.toDouble(); });

src/Core/Algorithms/Base/Variable.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ namespace Algorithms {
134134
}
135135

136136
SCISHARE std::vector<std::string> toStringVector(const Variable::List& list);
137+
SCISHARE std::vector<std::string> toNameVector(const Variable::List& list);
137138
SCISHARE std::vector<double> toDoubleVector(const Variable::List& list);
138139

139140
typedef Variable AlgorithmParameter;

0 commit comments

Comments
 (0)